Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class bookEvent{
- private string[] eventList = new string[2];
- private string eventName, eventPrice, customer, customerPhone;
- public void setEvent(string eName, string ePrice, string eCust, string ePhone){
- this.eventName = eName;
- this.eventPrice = ePrice;
- this.customer = eCust;
- this.customerPhone = ePhone;
- }
- public void getEvent(){
- Console.WriteLine(" ");
- Console.WriteLine(" _________________________________________");
- Console.WriteLine("| |");
- Console.WriteLine("| YOUR TICKET |");
- Console.WriteLine("|_________________________________________|");
- Console.WriteLine("| ");
- Console.WriteLine("| Event Name : {0}", eventName );
- Console.WriteLine("| Event Price : {0}", eventPrice );
- Console.WriteLine("| Cust Name : {0}", customer );
- Console.WriteLine("| Cust Phone : {0}", customerPhone );
- Console.WriteLine("|_________________________________________");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement