Professional Documents
Culture Documents
2. What is a class?
3. What is an object
4. Relation b/w class and object
5. Structures
6. Relation b/w class and structure
7. Class vs Structure
8. Fields
9. Methods
10.Properties
11.Static
12.Static Classes
13.Sealed Classes
14.Abstract Classes
15.Interfaces
16.Abstract classes vs Interfaces
17.What is an Interface class.
18.Recommendations to decide when to use an interface and when to use abstract class
19.What happens if we don't provide implementation to interface members.
20.Advantages of interfaces.
21.Inheritance
22.Different types of inheritance.
23.Class inheritance
24.Interface inheritance
25.Can Interface inherit another interface.
26.If a class inherits an interface what are the two options available.
27.Explicit implementation of interface
28.Encapsulation
29.Polymorphism
30.Access Modifiers
31.In C# does derived types can have greater access modifier than its base types.
32.In C# does the access modifier of a type member can have greater access modifier than its
type.
33.Value Types
34.Reference Types
35.Value types vs Reference Types
36.Stack
37.Heap
38.Overriding vs Overloading
39.Can we define user defined types as constants in C#.
40.In C# can we declare methods events and properties as constants.
41.Virtual vs Abstract
42.Can we declare fields inside a class as virtual.
43.Data Types.
44.Are value types are sealed.
45.Type conversion
46.Implicit conversion
47.Explicit conversion
48.Is and As operator
49.Difference between IS and As operator.
50.Boxing and Un Boxing
51.Which type of expression is thrown if type conversion fails.
52.What is the base class for array types
53.String vs system.String
54.Int.Parse vs Int.TryParse
55.Exception Handling
56.Can multiple catch blocks be executed
57.Do events have return type
58.Do events have access modifier.
59.Can we have shared events.
60.Where all the .NEt classes are located.
61.Overriding vs shadowing
62.What is dispose in .NET