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 to retrieve user name in case of Window Authentication?

746


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

2351


Differentiate between file-based dependency and key-based dependency.

934


What I need to create and run an asp.net application?

969


how can create login from create and written conde in asp.net

2431


Define a static class?

978


What are the main advantages of using asp.net?

1032


How is session id generated?

926


How can you implement encapsulation in asp.net?

13024


What are custom user controls in asp.net?

1013


What is asp net theme?

1000


What are the features that make asp.net more used framework? : asp.net mvc

1010


How Session use Cookies in State Management?

1065


What is the use of view state?

941


What is the difference between response.redirect and server.transfer?

1031