| Other C Sharp Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| What is the difference between protected and protected internal? | Fulcrum-Logic | 1 |
| Can you change the value of a variable while debugging a C#
application? | | 1 |
| What?s the difference between the Debug class and Trace class? | | 2 |
| How do you implement multiple inheritance in .NET? | Microsoft | 4 |
| Which is the best institute in hyderabad to learn
Sharepoint Portal? | | 1 |
| How can we give strong name to assembly? What is satellite
assembly? | SMNetserv | 1 |
| What are the ways to deploy an assembly? | | 1 |
| difference between keyword internal and protected? | HCL | 4 |
| how can i return string by vilating duplicates(inpyt like
asdfsda but output should be 2a2d2sf and 2a,2d,2s,f) | Microsoft | 2 |
| Can you override private virtual methods? | | 3 |
| How?s method overriding different from overloading? | | 2 |
| what is collections and
what is generics | Bally-Technologies | 3 |
| how to access the virtual method without creating the objet
for the virtual method? | | 1 |
| What is a system lock? | Wipro | 1 |
| When you inherit a protected class-level variable, who is
it available to? | IBM | 3 |
| 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 |
| Can you allow class to be inherited, but prevent the method
from being over-ridden? | | 2 |
| About a class access specifiers and method access specifiers ? | MMTS | 3 |
| What are the valid parameter types we can pass in an
Indexer ? | CMC | 1 |
| what r arraylist?
what the use of Hashtables? | | 4 |
| |
| For more C Sharp Interview Questions Click Here |