| Other C Sharp Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| What is use of
super class | NIIT | 1 |
| Write code for palindrome? | Tech-Mahindra | 4 |
| Which type of variables are under the control of garbage
collector? | Kanbay | 3 |
| What is manifest ? | Digital-GlobalSoft | 1 |
| What does the keyword virtual mean in the method definition? | Visual-Soft | 2 |
| What does virtual keyword mean ? | TCS | 2 |
| What is Dispose method in .NET ? | TCS | 2 |
| If we inherit a class do the private variables also get
inherited ? | TCS | 4 |
| If we inherit a class do the private variables also get
inherited ? | TCS | 1 |
| Where are all .NET Collection classes located ? | TCS | 6 |
| Oops concepts ? | Digital-GlobalSoft | 1 |
| how to store the value in textbox using delegates if we have
two user control. the value will be called from one user
control to another user control. Loading and unloading will
be done through delegates. | | 1 |
| How can we acheive inheritance in VB.NET ? | TCS | 2 |
| Method1()
{
int a=0, b=0, c=0;
Monitor.Enter(this)
c = 12;
b = 3;
a = c/b
Moniter.Exit(this)
}
Method1()
{
int a=0, b=0, c=0;
c = 12;
b = 3;
lock(this){
a = c/b
}
}
Choose correct answer.
a. Upon completion, Method1 and Method2 release the lock
b. Upon Comletion, Method1 release the lcok and Method2 not.
c. Upon Completion, Method2 release the lock and Method1
not.
d. Upon Completion, neither Method1 or Method to release
the lock. | | 1 |
| How can we give strong name to assembly? What is satellite
assembly? | SMNetserv | 2 |
| How do you generate documentation from the C# file
commented properly with a command-line compiler? | | 1 |
| How do you remove the objects which are not in
use?Explicitly or implicitly?What is the exact mechanism
going behind? | Choice-Solutions | 2 |
| Can you allow class to be inherited, but prevent the method
from being over-ridden? | | 3 |
| What is overloading and how can this be done ? | MMTS | 3 |
| give an example for suspending, resuming, and stopping a
thread ? | GCI | 1 |
| |
| For more C Sharp Interview Questions Click Here |