Как я могу получить измененные слова между двумя строками в ASP.NET
In my web application, i have two strings and i need to display modified words and count between them.For example: string variable1="When you are writing server code you can never be sure what the IP address you see is refereeing to.In fact some users like it this way."; string variable2="When you are wrting server code yu cannn never be sure what the IP address you see is refering to.In fact some users like it this way"; the result should be, modified words : wrting,yu ,cannn ,refering modified words count :4 how to do this can anyone tell me. Thank you
Что я уже пробовал:
var result2 = variable2. Split(new char [] { '' }).Кроме (variable1. Split(new char [] { '' })).Метод toArray();
кол-во = результат2.Длина;
Этикетка 3.Text = "измененное слово:" + result2[0].Метод toString() + "
"+"Модифицированный Граф:" + граф.Метод toString();