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