two left
This commit is contained in:
16
labs/lab2_done/BankAccount/Enum.cs
Normal file
16
labs/lab2_done/BankAccount/Enum.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
public enum AccountType { Checking, Deposit }
|
||||
|
||||
public class Enum
|
||||
{
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
AccountType goldAccount;
|
||||
AccountType platinumAccount;
|
||||
|
||||
goldAccount = AccountType.Checking;
|
||||
platinumAccount = AccountType.Deposit;
|
||||
|
||||
Console.WriteLine("The Customer Account Type is {0}", goldAccount);
|
||||
Console.WriteLine("The Customer Account Type is {0}", platinumAccount);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user