C# Interview Questions and Answers (958) - Page 41

Which of the following is a contextual keyword in C#?

NOTE: This is objective type question, Please click question title for correct answer.
What do you mean by console in C#?

Console is the C# identifier derived from the System class. It is a static class and full name is System.Console.

Console is also a part of .NET framework. Main purpose of console is to represent the standard I/O and error streams for console applications.

Console cannot be inherited by any other classes.
In C#, what is the keyword used to access the base class members within the derived class is?

NOTE: This is objective type question, Please click question title for correct answer.
In C#, keyword used to enable overflow checking is?

NOTE: This is objective type question, Please click question title for correct answer.
In C#, keyword used to suppress the overflow checking for integral types is?

NOTE: This is objective type question, Please click question title for correct answer.
In C#, keyword used to fix the memory of a statement in one location is?

NOTE: This is objective type question, Please click question title for correct answer.
In C#, keyword used for casting from one type to another type is?

NOTE: This is objective type question, Please click question title for correct answer.
In C#, keyword used to allow any conversions from one class to another directly is?

NOTE: This is objective type question, Please click question title for correct answer.
In C#, keyword used to overload a built in operator is?

NOTE: This is objective type question, Please click question title for correct answer.
which option is an Value type?

NOTE: This is objective type question, Please click question title for correct answer.
In C#, the type used to enable the operations to bypass the compile-time checking is?

NOTE: This is objective type question, Please click question title for correct answer.
What is interface in C#?

interface is the C# keyword which carries the signatures of methods, events, properties etc. These can be used from the class or struct which implements that interface.
Example,
interface MyInterface

{
void MyMethod();
}

class MyClass : MyInterface
{
void MyInterface.Mymethod()
{
..........;
}

static void Main()
{
...........;
..........;
}
}
By using interfaces, programs become more compact and very easier to maintain.
In C#, keyword used to restrict the code from being executed any other threads is?

NOTE: This is objective type question, Please click question title for correct answer.
In C#, keyword used to specify the method parameters and enables method to receive variable numbers is?

NOTE: This is objective type question, Please click question title for correct answer.
In C#, keyword used to allocate the memory on the stack in unsafe context is?

NOTE: This is objective type question, Please click question title for correct answer.
In C#, keyword used to get the type objects is?

NOTE: This is objective type question, Please click question title for correct answer.
In C#, keyword used to get the size of the value types in bytes is?

NOTE: This is objective type question, Please click question title for correct answer.
In C#, the LINQ operation which associates the non-related elements from different sources in the object model is?

NOTE: This is objective type question, Please click question title for correct answer.
What is used to create instances of class or struct in C#?

NOTE: This is objective type question, Please click question title for correct answer.
In C#, a constructor without any parameters is called as ?

NOTE: This is objective type question, Please click question title for correct answer.
Found this useful, bookmark this page to the blog or social networking websites. Page copy protected against web site content infringement by Copyscape

 Interview Questions and Answers Categories