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 to retrieve user name in case of Window Authentication?
benefits of migration from asp to asp.net hi frnds, i have to give presentation to a client about how useful would be migrating their project from asp to asp.net .plz give me some points which i should incorporate in my ppt thanks
Differentiate between file-based dependency and key-based dependency.
What I need to create and run an asp.net application?
how can create login from create and written conde in asp.net
Define a static class?
What are the main advantages of using asp.net?
How is session id generated?
How can you implement encapsulation in asp.net?
What are custom user controls in asp.net?
What is asp net theme?
What are the features that make asp.net more used framework? : asp.net mvc
How Session use Cookies in State Management?
What is the use of view state?
What is the difference between response.redirect and server.transfer?