Nameof With Alias - CSharp Custom Type

CSharp examples for Custom Type:nameof

Description

Nameof With Alias

Demo Code

using System;/*  ww  w . j  a  v a  2 s  . co m*/
using System.ComponentModel;
using GuidAlias = System.Guid;
class NameofWithAlias
{
   static void Main()
   {
      Console.WriteLine(nameof(GuidAlias));
   }
}

Result


Related Tutorials