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 is diff. Between abstract class and an interface?
What is latest version of asp.net mvc? : Asp.Net MVC
Explain about asp.net 2.0 themes?
How can we secure the data which is send from client side to server? Like the login id and paasword needs to be authenticated on the server but we cannot send it in plain text into the server.One more thing we are not using the SSL here.
In early binding will the method invoked on com component will verify it?s existance in the system or not ?
What is the displayafter property in updateprogress control?
How asynchronous call can be implemented using delegates?
Why does my asp.net file have multiple tag with runat=server?
What is the purpose of url encoding?
What is web api vs wcf?
What are type/key pairs in client script registration? Can there be 2 scripts with the same type/key pair name?
How does session work?
What are the advantages of asp.net?
What is the procedure to handle the process request using mhpm events fired? : asp.net mvc
Explain about ASP.NET?