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

Explain Features in ASP.NET

1138


What is the difference between server-side scripting and client-side scripting?

1050


What is paging in context of Memory?

1165


Define a web service in .net?

1118


Can you explain how ASP.NET application life cycle and page life cycle events fire?

1071


What is application session?

1039


Explain exception handling in .net.

1116


How is application management and maintenance improved in asp.net 2.0?

1038


What is custom attribute? How to create?

1130


Differentiate between Server.Transfer and Response.Redirect with functionality? Why we can choose one over the other?

1248


How can we access static variable?

1164


How to retrieve user name in case of Window Authentication?

812


How ViewstateMac works?

2885


Who can consume WebAPI?

1058


How should I destroy my objects in asp.net?

1125