Created
June 8, 2016 20:26
-
-
Save gaboratorium/be6fe44dcf82a3e594dfa692d61a38e0 to your computer and use it in GitHub Desktop.
C# Generics: 2.: Generic class #csharp #generics Raw
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class GenericClass<T> | |
{ | |
public void Add(T value) | |
{ | |
//Deploy | |
} | |
public T this[int index] | |
{ | |
get { throw new NotImplementedException(); } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment