static void Main(string[] args) { VideoPost newPost = new VideoPost("Logan Potts", "First Post", "Hi! This is my first post!", "https://videos.com/some_meme"); newPost.Display(); newPost.Play(); }
static void Main(string[] args) { Post post1 = new Post("Thanks for the birthday wishes", true, "Daniel Muñoz"); ImagePost imagePost1 = new ImagePost("Check out my new shoes", "httpss//images.com/shoes", "Daniel Muñoz", true); VideoPost videoPost1 = new VideoPost("Super THUMBNAIL", "https://music.youtube.com/watch?v=_Xq2wK3dI4g&list=RDAMVM_Xq2wK3dI4g", "Daniel Muñoz", 10, true); Console.WriteLine(post1.ToString()); Console.WriteLine(videoPost1.ToString()); Console.WriteLine(imagePost1.ToString()); videoPost1.Play(); Console.WriteLine("Press any key to stop the video"); Console.ReadKey(); videoPost1.Stop(); Console.ReadLine(); }
static void Main(string[] args) { Post post1 = new Post("This is a post.", true, "Chris Wuydts"); Console.WriteLine(post1.ToString()); ImagePost imgpost1 = new ImagePost("Check out my new shoes", "Christopher Wuydts", "http://images.com/shoes", true); Console.WriteLine(imgpost1.ToString()); VideoPost vidpost1 = new VideoPost("Epic/Win/Fail", "Christopher Wuydts", "https://video.com/epicwinfail", true, 10); Console.WriteLine(vidpost1.ToString()); vidpost1.Play(); Console.WriteLine("Press any key to stop the video"); Console.ReadKey(); vidpost1.Stop(); }
static void Main(string[] args) { Post post1 = new Post("Pildike", true, "Tomi"); Console.WriteLine(post1.ToString()); ImagePost imagePost1 = new ImagePost("Nii lahe", "Tomi", "www.eki.ee", true); Console.WriteLine(imagePost1.ToString()); VideoPost videoPost1 = new VideoPost("R6 Gameplay", 4, "www.youtube.com/r6_Gameplay", true, "Galaxy991"); Console.WriteLine(videoPost1.ToString()); videoPost1.Play(); Console.WriteLine("Press any key to stop the video"); Console.ReadKey(); videoPost1.Stop(); Console.ReadLine(); }
static void Main(string[] args) { Post post1 = new Post("Thank for the b-day wishes", true, "Maya A"); Console.WriteLine(post1.ToString()); Console.ReadLine(); ImagePost imagePost1 = new ImagePost("Check out my new shoes", "Mayya", "https://image.com", true); Console.WriteLine(imagePost1.ToString()); Console.ReadLine(); VideoPost videoPost1 = new VideoPost("Watch the video", "Mayya", "https://video.com", 4, true); Console.WriteLine(videoPost1.ToString()); videoPost1.Play(); Console.WriteLine("Press any key to stop the video"); Console.ReadKey(); videoPost1.Stop(); Console.ReadLine(); }
//Ex. Car - Base prop: HP, windows, wheels Methods: drive, honk ALL cars have this. // Deriving Classes Race Car prop: Turbo Method: Racing Street Car prop: Comfort method: StreetRide static void Main(string[] args) { Post post1 = new Post("Thanks for the birthday wishes", true, "Dustin Cummings"); Console.WriteLine(post1.ToString()); ImagePost imagePost = new ImagePost("Check out my new shoes", "Dustin Cummings", "https://images.com/shoes", true); VideoPost videoPost = new VideoPost("Fail Video", "Dustin Cummings", "https://video.com/video", true, 5); Console.WriteLine(imagePost.ToString()); Console.WriteLine(videoPost.ToString()); videoPost.Play(); Console.WriteLine("Press any key to stop the video!"); Console.ReadKey(); videoPost.Stop(); Console.ReadKey(); }
static void Main(string[] args) { Console.WriteLine("Hello World!"); Post post1 = new Post("Thanks for birthday wishes", true, "BjornDaBoy"); Console.WriteLine(post1.ToString()); ImagePost imagePost1 = new ImagePost("Check shoes", "BVO", "Https//images.com/shoes", true); Console.WriteLine(imagePost1.ToString()); VideoPost videoPost1 = new VideoPost("Check the vid", "JJ", "HTTP.youtube", 20, true); Console.WriteLine(videoPost1.ToString()); videoPost1.Play(); Console.WriteLine("Press any key to stop vid"); Console.ReadKey(); videoPost1.Stop(); }
static void Main(string[] args) { Post post1 = new Post("Thanks for the Birthday Wishes", true, "Sean Mongru"); Console.WriteLine(post1.ToString()); ImagePost post2 = new ImagePost("Check out my new shoes", "Sean Rajeev Mongru", "http://newshoes.com/shoes", true); Console.WriteLine(post2.ToString()); VideoPost post3 = new VideoPost("New shoes, very kool, 10/10", "rDarky7", "http://newshoes.com/shoes/bestshoesvid", 180, true); Console.WriteLine(post3.ToString()); post3.Play(); Console.WriteLine("Press any key to stop video"); Console.Read(); post3.Stop(); Console.ReadLine(); }
static void Main(string[] args) { Post post1 = new Post( "Thanks for the birthday wishes", true, "Kevin Stapleton" ); Console.WriteLine(post1.ToString()); ImagePost imgPost = new ImagePost("Check out my gout", "Kevin Stapleton", "https://imaages.com/1312312", true); Console.WriteLine(imgPost.ToString()); VideoPost vidPost = new VideoPost("Check out my big tow", "Kevin Stapleton", "https://videos.com/1312312", true, 5); Console.WriteLine(vidPost.ToString()); vidPost.Play(); Console.WriteLine("Press any key to stop the video"); Console.ReadKey(); vidPost.Stop(); }