| Other C Sharp Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| If we inherit a class do the private variables also get
inherited ? | TCS | 1 |
| What is the Difference between value and reference type? | Wipro | 7 |
| Is string reference type / value type? | Accenture | 36 |
| wt is namespace? wt is the use? | | 10 |
| write program in C# for palindrome? (aug 2009)
write program in C3 for generating below output?(aug 2009)
#
# #
# # #
# # # # | | 4 |
| what is diffrence between protected ,internal and protected
internal??
whether protected field available in derived class which is
outside the assembly.
if not ..this is possible by which access modifiers?? | | 1 |
| Tell me something about Exceptions. What is the common
exception class? | HCL | 4 |
| what is webapplication? what is windows application?
what is the extension for both . in what purpose we r using
webapplication. in which situation we r using windowns
application | | 1 |
| Can we have the method in drived class with the same name
which is there in base class? | TCS | 6 |
| What does the keyword virtual mean in the method definition? | Visual-Soft | 2 |
| In c# how to connect crystal report? | | 2 |
| Trace the O/p for a program on inheritance and
Polymorphism. 3 classes A,B,C
A with two methods
public virtual SomeMethodA
public virtual SomemoreMethodA
B:A
overide SomeMethodA
C:B new Method SomeMethodA
override SomeMoreMethodA
main method
{
b new instance of B
b.SomeMethodA
b.SomeMoreMethodA
b1 new instance of C
b1.SomeMethodA
b1.SomeMoreMethodA
} | Proteans | 2 |
| If we write a goto or a return statement in try and catch
block will the finally block execute? | | 4 |
| How can you prevent classes to be inherited? | Microsoft | 8 |
| what is the real use of interface in c#,other than that
multiple inheritance is not possible | | 3 |
| How to print labels in windows form in C# .net | | 4 |
| Which is the best way for keeping the data in XML or SQL
server..and why? | Infosys | 8 |
| How can we convert XML Data to DataBase Table in C#.Net? | Wipro | 1 |
| explain DIFFERENCE BETWEEN CLASS AND MODULE? | | 3 |
| What is marker interface? | TCS | 1 |
| |
| For more C Sharp Interview Questions Click Here |