How to compare two strings with out Case sensitive ?
Answer Posted / minhajul islam
string str1="Hello1";
string str2="Hello2";
String.Compare(str1,str2,true)
//true if you want compare two string without case
sensative and false if you want to case sensative.
//It will return Zero if compare as equal and 1 if not.
Is This Answer Correct ? | 16 Yes | 2 No |
Post New Answer View All Answers
What are the types of caching in asp.net?
What is %20 in a url?
What is viewstate? In which event of the page life cycle, is the viewstate available?
Explain a program using code nuggets to create a simple application? : asp.net mvc
Explain the Session state management options available with ASP.NET?
What is the difference between ASP.NET Webforms and ASP.NET MVC?
What are the merits and demerits of viewstate?
Can you explain one critical mapping? Performance issue which one is better?
Give some salient points of difference between request processor and request dispatcher.
what are the web form events available in asp.net?
What are sql notifications and sql invalidations?
i want the asp.net technical questions and answeres
What is a uri query?
What is a 401 redirect?
Less than one page, how many windows will you be able to maintain?