Skip to content

Instantly share code, notes, and snippets.

@ankitvijay
Last active January 21, 2018 11:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ankitvijay/3cc238fa2624cbef4b32b129a4aec894 to your computer and use it in GitHub Desktop.
Save ankitvijay/3cc238fa2624cbef4b32b129a4aec894 to your computer and use it in GitHub Desktop.
Extern alias example 2
using System;
namespace SameNamespaceName
{
public class Class2
{
public static void MethodB()
{
var assemblyame = System.Reflection.Assembly.GetExecutingAssembly().GetName().Name;
Console.WriteLine($"Assemble Name: {assemblyame}");
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment