| |
|
What are generics in C#?
Generics in C# is a new innovative feature through which classes and methods in C#
may be designed in such a way that the rules of a type are not followed until it is
declared. The generics feature in C# has been introduced with version 2.0 of the .NET
Framework. Using generics, a class template may be declared that may follow
any type as required at runtime. The class behavior is later governed by the
type that we pass to the class. Once the type is passed, the class behaves depending
on the type passed to this generic class.
More on generics in C-Sharp, read this article
Click Here.
Protected Internal
Array
Sort Array
Throw
Multiple Catch
Polymorphism
Inheritance
Session Viewstate
Autogenerate
ReadOnly
Sealed Class
Sealed Method
Multiple Interfaces
Overloading
Overloaded Constructors
Generics
Main
Case Sensitive
Console
Specifier
Return Type
SetCommandLineArgs
System Environment
New
Default Values of Types
Compiler Error
Constant Variable
Const
Const - ReadOnly
Parameter Modifier
Out Ref
Interface
Interface Reference, is, as
System.Collection
More Interview Questions...
| |