Advertisement
SteelGolem

non-global globals

Jan 4th, 2017
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.26 KB | None | 0 0
  1.  
  2. using System;
  3.  
  4. namespace myProgram
  5. {
  6.     class Program
  7.     {
  8.         static int i = 1337;
  9.         static void Main(string[] args)
  10.         {
  11.             Console.WriteLine("Hello, world! The variable 'i' contains " + i.ToString());
  12.         }
  13.     }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement