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 is a session stored and maintained in asp.net?
How will you do Redo and Undo in a TextControl?
Where is asp.net view state stored?
How to create events for a control?
How response object is related to asp's response object?
Explain Features in ASP.NET
What is a page life cycle? What are the events in a page life cycle?
What is the difference between globalization and localization?
What are all the various Estimation Techniques available ?
What is paging in context of Memory?
What does a switch do?
What is the difference between a multi-layer and multi-tier applications?
Where can I get the details on migration of existing projects using various technologies to asp.net?
What do you mean by authorization?
What is client side state management?