c# questions

May be later as well. This is the short answer

05.02 What is abstract class?

05.02 What is inheritance?

05.03 What is polymorphism?

05.04 What is multiple inheritance?

05.05 What is an interface?

05.05 What is a virtual method?

05.07 What is public, private, and protected?

05.08 What are the fundamental data types in c#?

05.09 What is a constructor?

05.10 what is a default contrsuctor?

05.11 How do you declare an abstract class in C#?

05.11 what is a static variable?

05.13 How do you implement and also inherit at the same time?

05.14 When do you use private variables?

05.15 when do you use private methods?

05.16 when do you use protected methods?

05.17 when do you use public methods?

05.18 What is the syntax for foreach?

05.19 what is the interface necessary to support foreach?

05.20 How do you invoke the constructor of the parent class?

05.20 is there a restriction as to the extension of the filename?

05.21 How do you invoke one constructor from another constructor?

05.22 What is a namespace?

05.23 How do you declare a namespace?

05.24 How do you import a name space?

05.25 what class and method would you use to write output to a command line?

05.26 what is the signature of a main method in a c# class?

05.27 How is code commented in c#?

05.28 Is there a relationship between the class name and the filename?

05.29 Can there be more than one class in one file?

05.31 What is the name of the compiler used to compile c# code?

05.32 What is the base class for all other classes in c#?

05.33 what is an escape sequence in a string?

05.34 How can you insert a new line into a string literal?

05.36 How can you insert a tab into a string literal?

36) 05.37 what is boxing?

16-May-09

05.37 what is boxing?

05.38 How do you declare an array containing 5 strings?

05.39 What are enumerations and does c# support them?

05.40 How do you define an enumeration?

05.41 How can you assign an integer a value from an enum type?

05.42 How do you declare a variable of type enum?

05.43 what are some static methods of the class "enum"?

05.44 How can you get the string name for an enum value?

05.45 what is the syntax for foreach?

05.46 what is the connection between foreach and IEnumerable?

05.47 what methods are available on IEnumerable?

05.48 who can access a protected method?

05.49 who can access a private method?

05.50 what is a static method and when do you use it?

05.51 what is a virtual method?

05.51 when do you use override on a method?

05.52 when does one method hides another method from the base class?

05.53 what is an abstract method and how do you declare one?

05.55 How do you declare a method that doesn't return any values?

05.56 what makes up a method signature?

05.57 what are properties?

57) 10.01 What is IL?

11-May-09

10.01 What is IL?

10.02 How do you initialize a static variable?

10.02 what is a reference type and a value type?

10.03 is string a value type or a reference type?

10.04 why is string an immutable reference?

10.05 How do you declare and initialize a two dimensional array?

10.05 what are verbatim string literals?

10.06 what is the type name for an array?

10.07 How do you declare and initialize a jagged array?

10.08 is operator overloading possible?

10.09 when do you use break and continue?

10.10 How is a struct different from a class?

10.11 what is a namespace alias?

10.12 What are the various types of class modifiers such as "public"?

10.13 What is a sealed class?

10.14 Can you pass values by reference?

10.15 what is an output parameter and why would you use it?

10.16 How would you define a method that takes any number of arguments?

10.17 what does a new modifier on a method indicate?

10.18 How do you make a class behave like an array?

10.19 what is a delegate?

10.20 How can you tell if an asyncdelegate completed its job?

10.20 how is a delegate similar to a function?

10.21 How is a delegate similar to a class?

10.22 How do you delcare a delegate?

10.22 what is a composite delegate?

10.23 Can you use a static method to create a delegate?

10.23 What do you use to construct a delegate?

10.24 what attributes and methods are available on a delegate class?

10.25 What static methods are available on Delegate class?

10.26 what does BeginInvoke do?

10.26 what is IAsyncResult?

10.27 what does endinvoke do?

10.27 Why should you not call an endInvoke right after beginInvoke?

10.28 what is an AsyncCallback?

10.29 what is asyncstate?

10.32 what is an asyncwaithandle?

10.33 do you have to call an endinvoke?

10.34 can you use a delegate for fire and forget?

10.35 do you have to call begininvoke explicitly?

15.01 When do you use a private constructor?

15.02 Are pointers supported in c#?

99) General Notes

19-May-09

General Notes

100) who is Charles M Russel

17-Dec-09

who is Charles M Russel