Hello,
I need help to make sure this method will tell me the comparision is the same in length:
Here's what I have :
private bool Matched(string Target, string text){
return text.ToLower().Trim().Length.Equals(Target.ToLower().Trim().Length);
}
Do correct me if there is a mistake.
I'd also like to know if I didn't put in the Length will it affect the evaluation ?
Rajanikant HawaldarPosted Sep 12, 2020, 7:50 AM
Tangara GPosted Sep 15, 2020, 8:14 AM
Rajanikant HawaldarPosted Sep 15, 2020, 12:28 AM
Tangara GPosted Sep 14, 2020, 10:34 PM
Rajanikant HawaldarPosted Sep 14, 2020, 12:43 AM
Tangara GPosted Sep 13, 2020, 11:24 PM
Tangara GPosted Sep 12, 2020, 6:49 AM
Hi Rajanikant,
Rajanikant HawaldarPosted Sep 12, 2020, 6:24 AM
Tangara GPosted Sep 12, 2020, 5:49 AM
Jignesh KumarPosted Sep 12, 2020, 4:51 AM
Nisha RegilPosted Sep 12, 2020, 3:29 AM
Tangara GPosted Sep 12, 2020, 2:29 AM
Tangara GPosted Sep 12, 2020, 2:26 AM
Jignesh KumarPosted Sep 11, 2020, 8:24 AM
Nisha RegilPosted Sep 11, 2020, 8:17 AM