Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace ConsoleApp1
- {
- public class Program
- {
- public struct Foo { }
- public static void Main(string[] args)
- {
- Foo Foo;
- string input = Console.ReadLine();
- if (input == "42")
- {
- Foo = new Foo();
- }
- if (input == "42")
- {
- Console.WriteLine(Foo);
- }
- Console.ReadKey();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement