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
Why does my asp.net file have multiple tag with runat=server?
What is postback and autopostback in asp.net?
Is asp.net mvc still used? : Asp.Net MVC
What is the purpose of master page?
Explain what the contents of cookie?
Explain how do you deploy your asp.net application?
What language does asp.net use?
What is the difference between rest and restful?
What are the types of caching in asp.net?
What is ascx?
What tags do you need to add within the asp:datagrid tags to bind columns manually? Give an example.
Which method has beenintroduced in asp.net 4.0 to redirect a page permanently?
What is asp according to you?
What is Dynamic Web and discuss its usage with the help of real life examples?
How would you turn off cookies on one page of your website?