Office Document APIs for .NET
ITIL Career Advice
PMP Career Advice
Android Intel XDK
Be Interview Ready
Welcome Guest !
Which of the below operators is used to determine if two strings are identical?
on 10/20/2016 | Category:
C# Interview questions
| Views: 1113 |
Select from following answers:
"==" is the equality operator that determines if the two strings are equal. e.g.
string x = "hello";
string y = "hello"
Console.WriteLine( x == y ? "Equal":"Not Equal");
 is the indexer and cannot be use for comparison.
@ is the operator which by passes any special characters e.g. var x = @"C:\myfolder\text.txt"
|| is the relational OR operator and not a comparison operator.
Show Correct Answer
Many Interviews |
< Previous :
What will be the output of Declare @t table (R ...
Next > :
What is private constructor and what are some of i ...
Comments or Responses
Login to post response
More Interview Questions by Rajnilari2015
What is private constructor and what are some of it's benefits.
What is the purpose of Ildasm.exe?
What is the purpose of Ilasm.exe?
Explain with example the importance of Clustered and Non-Clustered Ind ...
What are Queues in Windows Azure?
What are Tables in Windows Azure?
Explain PartitionKey and RowKey in Windows Azure table
Latest Interview Questions
How more than one declaration be added in CSS?
How Declaration Block declared?
Who Maintains the CSS Specification?
In an ASP .Net MVC Application, browsers requests are mapped to?
Which is the right format for calling a ng-bind function?
What is sealed class?
What are the different categories of Inheritance?
What is Static Constructor?