What does the ` character stand for?
Take the following code, for example:
VB.NET
Public Class
TestClass(
Of
T)
End Class
Response.Write(GetType(TestClass(
Of Integer
)))
C#
public class
TestClass
{ }
Response.Write(
typeof
(
TestClass
<
int
>));
The above code results in the following output: TestClass`1[System.Int32]. The ` next to 1 indicates the arity of the generic class and the 1 after ` means it has an arity of 1. Arity is a term that refers to the number of type parameters used to construct a type.