Explain About a class access specifiers and method access specifiers.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Sharp Interview Questions

Explain the differences between static, void and public in c#?

0 Answers  


What is the Use Of Interfaces? For example I have a interface as shown below? Interface IMyInterface { public void MyMethod(); } class MyClass : IMyInterface { public void Mymethod() { Some Code } } class Program { static void Main(string[] args) { MyClass obj = new MyClass(); obj.MyMethod(); } } Here What is My Question is? If i remove Interface and run this code, it will executed then what is the Use of the interface? Can any one give me the solution for this Problem? Thanks in Advance!

1 Answers   HCL,


Explain the features of an abstract class in net.

0 Answers  


Between windows authentication and sql server authentication, which one is trusted and which one is untrusted?

0 Answers  


How can you access a private method of a class?

0 Answers  


What is difference between float and integer?

0 Answers  


Which is faster list or dictionary in c#?

0 Answers  


what is meant inheritance. can you exaplain what kind inhertance ussed in your project

1 Answers  


How do I type a whitespace character?

0 Answers  


Explain polymorphism in c# with a simple example?

0 Answers  


What is the best method to fill the GridView. using SqlDataReader or Dataset and why

5 Answers   CA,


Which string method is used for concatenation of two strings in c#?

0 Answers  


Categories