Skip to content

Instantly share code, notes, and snippets.

@tnngo2
Created April 17, 2012 08:39
Show Gist options
  • Save tnngo2/2404626 to your computer and use it in GitHub Desktop.
Save tnngo2/2404626 to your computer and use it in GitHub Desktop.
using IO = System.Console;
using Emp = Bank.Accounts.EmployeeDetails;
namespace Bank.Accounts.EmployeeDetails
{
public class Employees
{
public string EmpName;
}
}
namespace Theory5
{
class AliasExample
{
static void Main(string[] args)
{
Emp.Employees objEmp = new Emp.Employees();
objEmp.EmpName = "Peter";
IO.WriteLine("Employee Name: " + objEmp.EmpName);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment