Check out example codes for "c# get class name as string". It will help you in understanding the concepts better.

Code Example 1

// in c# 6.0 you can use nameof(ClassName)
// in older versions you may use typeof(ClassName).Name
// example:
public static class ClassName
{
  public static void PrintName => Console.WriteLine(nameof(ClassName));
}

Learn ReactJs, React Native from akashmittal.com