Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How will you load dynamic assembly?

1040


Define authentication and authorization.

1128


How use Xml data in ASP.net?

1026


What are the two Layouts supported by a Web form in ASP.NET?

1103


How to find out what version of asp.net I am using on my machine?

1134


How many web.config files can I have in an application?

1025


What is asp.net used for?

1145


What do you mean by View State and what is its role?

1153


What are server-side comments in ASP.NET?

989


Why web api is better than wcf?

1147


Define common type system?

1022


What is class and object in asp.net?

1275


Can we have a web application running without web.config file?

1030


What are the media types of http requests and response?

1037


Is LINQ performance wise better or using sqlcommand?

5163