Malenaadu
Microsoft C# Interview Questions & Answers
Question
View Answer
Following are the features of .NET
View Answer
All .NET code have to be CLS compliant
View Answer
Which of the following is an explusive feature of C#?
View Answer
Which of the following is used to denote comments in C#?
View Answer
Attributes
View Answer
The 'finally' keyword is supported in C#?
View Answer
You can derive your own classes from the base class Library
View Answer
Is JIT compiler in .Net is vendor specific?i mean ,can we download it and use in other any language compiler?
View Answer
To start a Thread, you call the following method
View Answer
System is a
View Answer
The base class Arrray belongs to the mamespace
View Answer
Namespaces are used to
View Answer
Even if an exception hasn?t occurred, the ?finally? block will get executed
View Answer
You can inherit multiple interfaces in C#
View Answer
Structs and classes support inheritance
View Answer
The following type of class can?t be instantiated
View Answer
What is a multicast delegate?
View Answer
A virtual method can?t be over ridden
View Answer
Method Overloading and Overriding are the same
View Answer
To change the value of a variable while debugging , the following window is used
View Answer
How do you make CLR enforce overflow checking
View Answer
How do you determine the size required by a Value type on the stack
View Answer
Which of the following explicit type conversion is achieved with out loosing the original data value
View Answer
Difference between shadow and override?
View Answer
All the variables local to a method in C# must be initialized before they can be used
View Answer
The field variables in a class or a struct in C# are by default given a value of zero
View Answer
Which of the following is the correct way to instantiate an object in C#:
View Answer
A local C# variable declared in the for loop is in scope in
View Answer
bool data type in C# is
View Answer
A class type in C# is a value type
View Answer
A struct is a
View Answer
An int in C# is
View Answer
A char in C# is
View Answer
String is an
View Answer
Which of the following are predefined reference types in C#?
View Answer
All types in C# implicitly derive from
View Answer
What is similar in concept to IL?
View Answer
What is JIT?
View Answer
Does C# support multiple inheritance?
View Answer
Which of these .NET languages has been specefically designed to be used with .NET?
View Answer
Are there some features of C# language not supported by .NET?
View Answer
We can call COM objects in C# using :
View Answer
A delegate in C# is similar to:
View Answer
Events in C# are impltemented using:
View Answer
Can we use pointers in C#?
View Answer
What is automatic memory management in .NET known as:
View Answer
Value Types are stored on the heap
View Answer
Reference types are stored in :
View Answer
Garbage Collector:
View Answer
You can explicitly call the garbage collector
View Answer
NET offers the follwing security features:
View Answer
Any process can be divided into multiple
View Answer
'Reflection' is used to
View Answer
Assemblies are of the following types:
View Answer
Manifest is an area where:
View Answer
Assembly version information is stored in the:
View Answer
How does a running application communicate or share data with other applicxation running indifferent application domains?
View Answer
The following namespace is used for globalization:
View Answer
How do you deploy an assembly?
View Answer
We inherit a class using the following syntax:
View Answer
Each process in a 32 bit Windows environment has the following amount of virtual memory available:
View Answer
The following method is used to force the garbage collector :
View Answer
Following are the collections in C#:
View Answer
To access attributes, the following is used:
View Answer
The following is the namespace used for Reflection:
View Answer
What is CTS?
View Answer
What is CLR?
View Answer
What is IL?
View Answer
Which is the first level of compilation in the .NET languages?
View Answer
All the .NET languages have the following in common
View Answer
ASP.NET web pages can be programmed in C#?
View Answer
From command line, a C# program can be compiled using
View Answer
You can create the following using C#
View Answer
The C# code files have an extension
View Answer
There must be at least the following function in a C# program
View Answer
To write a line of text to the xonsole window, we make the following call
View Answer
The following is a correct call to the Main() function
View Answer
To read user input from the console, the following statement is used
View Answer
We declare an integer variable 'x' in C# as
View Answer
can we inherit the java class in C# class,how?
View Answer
WHAT IS THE ADVANTAGE OF SERIALIZATION?
View Answer
How to fill datalist usinf XML file and how to bind it,code behind language is c#
View Answer
What is the difference between const and static read-only?
View Answer
Is it mandatory to implement all the methods which are there in abstract class if we inherit that abstract class..?
View Answer
What's the implicit name of the parameter that gets passed into the class' set method?
View Answer
How do you inherit from a class in C#?
View Answer
Does C# support multiple inheritance?
View Answer
When you inherit a protected class-level variable? Who is it available to?
View Answer
What is the top .NET class that everything is derived from?
View Answer
Assemblies are of the following types:
View Answer
You have an event handler called MyEvent and you want to link the click event of control, MyButton, to use MyEvent, what is the code that will like them together?
View Answer
What is wrapper class?is it available in c#?
View Answer
What is protected internal class in C#
View Answer
Which keyword is used of specify a class that cannot inherit by other class?
View Answer
Can u create the instance for abstract classes
View Answer
Can we use Friend Classes or functions in C# the way we use it in C++
View Answer
How we can use inheritance and polymorphisms in c# programming?
View Answer
How to find exceptions in database
View Answer
How can objects be late bound in .NET?
View Answer
Where we can use DLL made in C#.Net
View Answer
What Datatypes does the RangeValidator Control support?
View Answer
Constructor is the method which is implicitly created when ever a class is instantiated. Why?
View Answer
Why multiple Inheritance is not possible in C#?
View Answer
Why strings are immutable?
View Answer
This is a Regular expression built for parsing string in vb.net and passed to Regex class. Dim r As Regex = New Regex(",(?=([^""]*""[^""]*"")*(?![^""]*""))") What is C# equivalent for this regular expression.
View Answer
How do i read the information from web.config file?
View Answer
What is the default Function arguments?
View Answer
What is XML Schema?
View Answer
How can i check whether a dataset is empty or not in C#.net
View Answer
Is it possible to inherit a class that has only private constructor?
View Answer
The compiler throws an error if XML comments is not well formed
View Answer
Which of the following is not a C# reserved keyword
View Answer
By declaring a base class function as virtual we allow the function to be overridden in subclasses
View Answer
Which of the following can not be declared as virtual
View Answer
Sealed class can be inherited
View Answer
Which of the following statements is not true for interfaces
View Answer
It is not permitted to declare modifier on the members in an interface definition
View Answer
Interface members can not be declared as
View Answer
Which method is implicitly called when an object is created
View Answer
Which of the following statement is invalid with regards to constructor
View Answer
Constructors can not be static
View Answer
It is perfectly legitimate to throw exceptions from catch and finally blocks
View Answer
In C# events are actually a special form of delegates
View Answer
Which preprocessor directive are used to mark that contain block of code is to be treated as a single block
View Answer
How are the attributes specified in C#
View Answer
For performing repeated modification on string which class is preferred
View Answer
In order to use stringbuilder in our class we need to refer
View Answer
Which of the following is not a member of stringbuilder
View Answer
What is the output of Vectors.RemoveAt(1)
View Answer
How do you add objects to hashtable
View Answer
If A.equals(B) is true then A.getHashcode & B.getHashCode must always return same hash code
View Answer
The assembly class is defined in
View Answer
What is the first step to do anything with assembly
View Answer
How do you load assembly to running process
View Answer
Assemblies cannot be loaded side by side
View Answer
Where does the version dependencies recorded
View Answer
How do you refer parent classes in C#
View Answer
Which attribute you generally find on top of main method
View Answer
How do you make a class not instantiable
View Answer
In a multilevel hierarchy how are the constructors are called
View Answer
Which utility is used to create resource file
View Answer
What is the extension of a resource file
View Answer
Public policy applies to
View Answer
Stream object can not be initialized
View Answer
Which of the following has stream as the base class
View Answer
Which method is used by COM+ to ascertain whether class can be pooled
View Answer
How do you import Activex component in to .NET
View Answer
Net Remoting doesn?t allow creating stateless & stateful Remote objects
View Answer
Windows services created by C# app run only
View Answer
How to implement multiple inheritence in C#
View Answer
In C# a technique used to stream the data is known as
View Answer
What is the use of fixed statement
View Answer
What is the order of destructors called in a polymorphism hierarchy
View Answer
How can you sort the elements of the array in descending order
View Answer
Is it possible to Override Private Virtual methods
View Answer
A single line comments are implemented by
View Answer
Code running under the control of CLR is often referred as
View Answer
Platform specific code is obtained when
View Answer
Intermediate Language also facilitates language interoperability
View Answer
Newer Post
Older Post
Home