Created
April 17, 2012 08:39
-
-
Save tnngo2/2404626 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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