Top "Gettype" questions

Using GetCurrentMethod in (supposedly) high-performance code

For logging purposes, some methods in our application include the following line: Dim Log As ILog = GetLog(Reflection.MethodBase.GetCurrentMethod().…

.net vb.net performance reflection gettype
Why GetType returns System.Int32 instead of Nullable<Int32>?

Why is the output of this snippet System.Int32 instead of Nullable<Int32>? int? x = 5; Console.WriteLine(x.…

c# .net reflection nullable gettype