How to compare two strings with out Case sensitive ?
Answer Posted / navin.cp
Here is the code that solve ur problem:
string str = "virtual";
if (str.Equals("virtual"))
{
// your code here....
}
| Is This Answer Correct ? | 8 Yes | 6 No |
Post New Answer View All Answers
Explain page output caching?
How Session use Cookies in State Management?
What is Web Server Control Templates.?
a web application needs to be created to accept the product name and quantity of a toy from a customer. After the customer has entered the product name the application needs to display the discounted price of the product to the customer (company is offering 35% discount on all products). The application should allow the customer to select the product name from a list box. and also while i'm data binding to a label with custom data binding with some declarations : "The Discounted Price is "+((System.Convert.todouble(lblprodprice.text)*(system.convert.todouble(txtqty.text)) - ((System.convert.todouble(lblprodprice.text)*(system.convert.todouble(txtqty.text)*0.35)). Where i need to give this declaration in asp.net 2.0.
What are the different types of proxy patterns?
Can we have 2 web config files?
What is a pixel url?
What are the asp.net security controls?
Explain Session state management options in ASP.NET.
Why should i prefer JSP over asp.net or any other web development language..??
How does session work?
What are the differnt types of handler in ASP.NET?
Describe session handling in a webfarm?
What are the different method of navigation in asp.net?
What do you mean by role-based security?