Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- public class Hello1
- {
- public static int Main()
- {
- Console.WriteLine("Hello, World!");
- return 0;
- }
- }
- #if DEBUG
- Console.WriteLine("Press enter to close...");
- Console.ReadLine();
- #endif
- Console.Readline()
- Console.Read()
- Console.ReadKey()
- using System.Diagnostics;
- private static void Main(string[] args) {
- DoWork();
- if (Debugger.IsAttached) {
- Console.WriteLine("Press any key to continue . . .");
- Console.ReadLine();
- }
- }
- Console.ReadLine();
- Console.Read();
- Console.WriteLine("Hello, World!");
- Console.Read();
- return 0;
- Console.Read();
- return 0;
- System.Threading.Thread.Sleep(1000);
- Console.WriteLine("Press any key to quit!");
- Console.ReadKey();
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace OOP_Encapsulation
- {
- public class Program
- {
- static void Main(string[] args)
- {
- Console.Write("Hi man");
- Console.ReadLine();
- return 0
- }
- }
- }
- system("PAUSE");
- static void Main(string[] args)
- {
- label:
- ----------
- *****snippet of code*****
- -----------
- **goto label;**
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement