ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage   interview questions urls   External Links  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  ASP.NET
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
How to compare two strings with out Case sensitive ?
 Question Submitted By :: Mail2ssuresh
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How to compare two strings with out Case sensitive ?
Answer
# 1
sting.Equals(string a,string b)
 
Explanation:
 Determines whether two specified system.string objects have
the same values,a parameter specifies the culture,case and
sort rules used in the comparison
 
Is This Answer Correct ?    2 Yes 2 No
Sekar Thangavel
 
  Re: How to compare two strings with out Case sensitive ?
Answer
# 2
Here is the code that solve ur problem:

       string str = "virtual";
        if (str.Equals("virtual"))
        {
          // your code here....
        }
 
Is This Answer Correct ?    1 Yes 1 No
Navin.cp
 
 
 
  Re: How to compare two strings with out Case sensitive ?
Answer
# 3
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 ?    1 Yes 0 No
Minhajul Islam
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
In which form does the dataset store data in it? Verinon-Technology-Solutions2
Explain how inline and code behind is used differently ?  1
How many web.config files in each solution General-Mills8
Which template must you provide, in order to display data in a Repeater control?  1
How to refresh a page in asp.net  2
Explain the functionality of "EnableViewState" ? What happens if you want it on or off?  1
what is manifest? Microsoft2
What is the difference between Server.Transfer and Response.Redirect? Why would you choose one over the other? Syntax-Softtech24
What methods are fired during the page load? Visual-Soft5
If I m using Session State Partioning where I have partitioned my session into 4 servers then how can I know that my session will be stored on which server?  1
RequiredFieldValidator--write code in javascript Wipro2
How do you do validations. Whether client-side or server-side validations are better.? Microsoft3
What is the difference between Server.Transfer and Response.Redirect?  4
How do you perform validations ? Microsoft1
What is MSIL?  2
What are the different ways you would consider sending data across pages in ASP (i.e between 1.asp to 2.asp)? Net-Solution1
In the context of a comparison, what is object identity versus object equivalence?  1
What is meant by role based security? when we use this one  1
Various types of Page Load functions Net-Solution2
what is DLL Hell and how it is solved in .NET? icegen3
 
For more ASP.NET Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com