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
How will you load dynamic assembly?
Define authentication and authorization.
How use Xml data in ASP.net?
What are the two Layouts supported by a Web form in ASP.NET?
How to find out what version of asp.net I am using on my machine?
How many web.config files can I have in an application?
What is asp.net used for?
What do you mean by View State and what is its role?
What are server-side comments in ASP.NET?
Why web api is better than wcf?
Define common type system?
What is class and object in asp.net?
Can we have a web application running without web.config file?
What are the media types of http requests and response?
Is LINQ performance wise better or using sqlcommand?