How to compare two strings with out Case sensitive ?

Answer Posted / manu

with
String.Compare(string a,string b) [result 0 only when it
is equal- since it compares by subtracting ascii of b from
ascci of a)
or
String.Equals(string a,string b) {true if it is equal]
we can achieve the same

Is This Answer Correct ?    5 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can we communicate with each server in N-tier Architecture? and what are the methods?

1792


Explain the advantages of asp.net.

546


Can you explain the basic use of dataview?

626


What is session management in web application?

553


What's the difference between viewstate and sessionstate?

575






What is event in asp.net?

540


What is the difference between abstract class vs interface? Can give me the real time examples?

492


Why SessionID changes in every request in asp.net?

552


Describe the .net base class library.

539


How to turn off cookies for a page?

585


What are cao and sao.

551


when a request is made in Life cycle of ASP.NET page .

539


Define what is razor? : asp.net mvc

585


Explain the difference between the web config and machine config.

631


How ViewstateMac works?

2368