Post by Admin on Nov 24, 2012 4:32:01 GMT -5
1. What is the name of the entry point function for all C# programs?
2. The C# data type int is a synonym for what CLR data type?
3. In C# all primitive data types and user defined data types inherit from what super object?
4. How is the C# string class use of == different from all other classes?
5. What encoding does C# use for characters?
6. What is the difference between the C# "ref" and "out" keywords when applied to method parameters?
7. What are the C# "checked" and "unchecked" keywords used for?
8. What is the difference between a C# "using" directive and a C/C++ "#include" directive?
9. What is the difference between a C# struct and a C# class in terms of reference types and value types?
10. Besides "public" and "private", what other two access modifiers can a C# class take?
11. Why does C# use class destructors far less often that C++?
12. In C#, are static methods accessed through a class name, an object name, or both?
13. How do you make a C# class abstract (when you want to inherit from it but never implement it directly)?
14. How do you prevent a C# class from being used as a base class (inherited from)?
15. C# does not support multiple inheritance. What C# mechanism allows you to have a semblance of multiple inheritance functionality?
16. What are the two kinds of C# properties?
17. Syntactically, what is the difference between calling a method and a property?
18. What is the approximate C# equivalent to a C++ function pointer?
19. What C# keyword do you use to implement a variable length argument list?
20. In C# if you must use pointers, how do you do it?
2. The C# data type int is a synonym for what CLR data type?
3. In C# all primitive data types and user defined data types inherit from what super object?
4. How is the C# string class use of == different from all other classes?
5. What encoding does C# use for characters?
6. What is the difference between the C# "ref" and "out" keywords when applied to method parameters?
7. What are the C# "checked" and "unchecked" keywords used for?
8. What is the difference between a C# "using" directive and a C/C++ "#include" directive?
9. What is the difference between a C# struct and a C# class in terms of reference types and value types?
10. Besides "public" and "private", what other two access modifiers can a C# class take?
11. Why does C# use class destructors far less often that C++?
12. In C#, are static methods accessed through a class name, an object name, or both?
13. How do you make a C# class abstract (when you want to inherit from it but never implement it directly)?
14. How do you prevent a C# class from being used as a base class (inherited from)?
15. C# does not support multiple inheritance. What C# mechanism allows you to have a semblance of multiple inheritance functionality?
16. What are the two kinds of C# properties?
17. Syntactically, what is the difference between calling a method and a property?
18. What is the approximate C# equivalent to a C++ function pointer?
19. What C# keyword do you use to implement a variable length argument list?
20. In C# if you must use pointers, how do you do it?