Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 831 Bytes

NameVariants.md

File metadata and controls

18 lines (14 loc) · 831 Bytes

You can acquire the name of the symbol in a few ways. Following table shows the differences between them.

Symbol Name BareName FullName
Type
int int int System.Int32
int? int? int System.Int32?
int[] int[] int System.Int32[]
List<int>? List<int>? List System.Collections.Generic.List<System.Int32>
string string String System.String
Method
void Foo1(int par) Foo1 Foo1 void Foo1(int par)
void Foo2<T>() Foo2<T> Foo2 void Foo2<T>()
Class
class GenericClass<T> GenericClass<T> GenericClass GenericClass<T>