How does one compare strings in c#?
Answer / Ravi Prakash Gupta
In C#, you can compare strings using the '==' operator for value comparison or the String.Equals() method for case-sensitive and culture-invariant comparisons. For case-insensitive comparisons, you can use the String.Equals(String, StringComparison) method.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain about generics in c#.net?
What?s the C# equivalent of C++ catch (?), which was a catch-all statement for any possible exception?
What is the difference between gettype and typeof in c#?
How do I use the 'using' keyword with multiple objects?
Is and as keyword in c# net?
if we are updating a database using thread, and mean while application crashes or thread being aborted then what will happen in Database? Rollback or Database will be updated? Please explain with different scenario.
Why constructor is used in c#?
What is the purpose of a console table?
why sturcture ? why class?why you prefer structure and in which cases u go for class?
Explain code compilation in c#.
The int maps to which C# keyword in .NET type?
Is hashset serializable c#?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)