C# Question
1. What is the namespace used to access the information about the Assembly in C#?
2. What are indexes in C# (do not confuse with indexes in sqlserver).
3. What are indexes in C# (do not confuse with indexes in sqlserver).
4. what is protected in C#?
5. what is difference between read only and constant statement?
6. What is Internal? & protected internal?
7. How to raise an event and pass information from a user control
8. Usercontrols in Winforms
9. Private Constructor, what it is? Its use & Advantage?
10. What is Static Constructor? It’s use? Will it executed when we call the static method each time or only at 1st time?
11. What is Custom attribute? How to create? Namespace to access it? If I'm having custom attribute in an assembly, how to say that name in the code?
12. What is the usage of “internal” access specifier
13. What is Event Delegate, clear syntax for writing a event delegate
14. What is static constructor, when it will be fired? and what is its use
15. Can you create instance of a class which has Private Constructor
16. Question related to Access modifiers
17. OOPS Methodology in C#
18. Mechanism of a Garbage Collector
19. What are OOPS Concepts?
20. What is the Difference between a Structure and a Class?
21. What is an Interface? What are the available Interfaces in COM?
22. What are Sealed Classes in C#?
23. How to Override a function in C#?
24. Design related questions, C#, OOPS
25. What r the access specifiers in C#
26. Difference between Protected & Protected Internal
27. What specifier u used when u want to create once and use it
28. When to use Interface & Abstract ,give the exact scenario with example
29. Difference between static constructor / type constructor
30. I have 3 overloaded constructors in my class. In order to avoid making instance of the class do I need to make all constructors to private? Overloaded constructor will call default constructor internally?
31. In which Scenario you will go for Interface or Abstract Class?
32. Difference between static constructor / type constructor
33. What is Type Constructor and Instance Constructor (Static Constructor and Instance Constructor)
34. What are the Access Specifiers in C#
35. Have a look at the following class Public class Employee { private int Emplyeeage 25; private String employeename=”venkat” public static void displayempdetail() { MessageBox.Show(Employeeage+” “+EmployeeName) } public static void displayempdetail1() { Employee e1=new Employee(); e1.anotherFun(); } public void anotherFun() { MessageBox.Show(Employeeage+” “+EmployeeName) } } What would be the result if we call Employee.displayempdetail() ? Will It work
36. What the attributes in a Function Signature?
37. What access specifiers available in c#
38. Explain about Protected access and protected internal access
39. Difference between type constructor and instance constructor
40. In which cases you use Override and new base.
41. What data providers available in .net to connect to database and what are all things
42. What is Inheritance?
43. Difference between public and protected?
44. What is Overriding?
45. What is Overloading?
46. What is managed code & Unmanaged code?
47. C# language feature
Firoz Ozman's Technical Blog. Firoz Ozman is an Application Architect in Microsoft Technologies.
For the official website visit www.firozozman.com
Subscribe to:
Post Comments (Atom)
Grand Windows 7
About Me
- FirozOzman
- Toronto, Ontario, Canada
- I believe in Love and Love the people who speaks the language of Love..
2 comments:
Good Questions!!
I found some basic oops faqs at
BASIC OOPS FAQS
Hey,
In Avanade what they ask in interview. I suppose there is some practical test on computer. What kind of problem they give to solve on computers.
Please reply asap.
Thanks.
Post a Comment