public class GenericClass<T1, T2>
where T2 : EventArgs
Public Class GenericClass(Of T1, T2 As EventArgs)generic<typename T1, typename T2>
where T2 : EventArgs
public ref class GenericClasstype GenericClass<'T1, 'T2 when 'T2 : EventArgs> = class end| GenericClassT1, T2 | Initializes a new instance of the GenericClassT1, T2 class |
| Property | This is a property that gets or sets an instance of the type specified by the generic type argument T1. |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| GenericMethodT3, T4 | This is a generic method that takes two other generic types |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| Method | This is a method with an argument. |
| OnSomethingHappened | This is a protected virtual method used to raise the SomethingHappened event. |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| SomethingHappened | This is an event that takes a generic argument. |