NameVariants.md

December 16, 2022 ยท View on GitHub

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

SymbolNameBareNameFullName
Type
intintintSystem.Int32
int?int?intSystem.Int32?
int[]int[]intSystem.Int32[]
List<int>?List<int>?ListSystem.Collections.Generic.List<System.Int32>
stringstringStringSystem.String
Method
void Foo1(int par)Foo1Foo1void Foo1(int par)
void Foo2<T>()Foo2<T>Foo2void Foo2<T>()
Class
class GenericClass<T>GenericClass<T>GenericClassGenericClass<T>