Advertisement
Guest User

Untitled

a guest
Sep 30th, 2016
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. using System;
  2.  
  3. public class Hello1
  4. {
  5. public static int Main()
  6. {
  7. Console.WriteLine("Hello, World!");
  8. return 0;
  9. }
  10. }
  11.  
  12. #if DEBUG
  13. Console.WriteLine("Press enter to close...");
  14. Console.ReadLine();
  15. #endif
  16.  
  17. Console.Readline()
  18. Console.Read()
  19. Console.ReadKey()
  20.  
  21. using System.Diagnostics;
  22.  
  23. private static void Main(string[] args) {
  24.  
  25. DoWork();
  26.  
  27. if (Debugger.IsAttached) {
  28. Console.WriteLine("Press any key to continue . . .");
  29. Console.ReadLine();
  30. }
  31. }
  32.  
  33. Console.ReadLine();
  34.  
  35. Console.Read();
  36.  
  37. Console.WriteLine("Hello, World!");
  38. Console.Read();
  39. return 0;
  40.  
  41. Console.Read();
  42. return 0;
  43.  
  44. System.Threading.Thread.Sleep(1000);
  45.  
  46. Console.WriteLine("Press any key to quit!");
  47. Console.ReadKey();
  48.  
  49. using System;
  50. using System.Collections.Generic;
  51. using System.Linq;
  52. using System.Text;
  53. using System.Threading.Tasks;
  54.  
  55. namespace OOP_Encapsulation
  56. {
  57. public class Program
  58. {
  59. static void Main(string[] args)
  60. {
  61. Console.Write("Hi man");
  62. Console.ReadLine();
  63. return 0
  64. }
  65. }
  66. }
  67.  
  68. system("PAUSE");
  69.  
  70. static void Main(string[] args)
  71. {
  72.  
  73. label:
  74. ----------
  75. *****snippet of code*****
  76. -----------
  77.  
  78. **goto label;**
  79.  
  80. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement