Welcome, Guest Ohm namah shivoy
www.faqpanel.com
Home | ASP.Net | C-Sharp | Winforms | MS SQL | AJAX | XML | .Net Training*** | Search
Invite friends 
Extras 
VS Tips & Tricks
Top 10 .Net Tools
Special folders in ASP.Net
VS Find Combobox
 C-Sharp (C#) Interview Questions and Answers
What is the "is" operator?
The "is" operator allows you to check whether an object is compatible with a specific type.

For example to check whether a variable is compatible with object type -
int i = 10;
if(i is object)
{
Console.WriteLine("i is an object");
}

int, like all C# data types, inherits from object class; therefore the expresion "i is object" evaluates to true.


Note: The phrase "is compatible" means that an object is either of that type or is derived from that type.
What is the advantage of using System.Text.StringBuilder over System.String?
How can you overload a method?
What is the "as" operator?
How to loop through a list of files in a directory?
What are the Member variables (C#) ?
Why are there five tracing levels in System.Diagnostics.TraceSwitcher?
Can multiple catch blocks be executed?
Will the finally block get executed if an exception has not occurred?
What is the "Reflection"?
Can you inherit multiple interfaces?