Advertisement
TopFloorSolutions

Vars

Mar 21st, 2017
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.39 KB | None | 0 0
  1. namespace Variables
  2. {
  3.     public class Program
  4.     {
  5.         // Fields or member variables.
  6.         // {datatype} {identifier} {assignment operator} {value}
  7.         int fieldVariable = 5;
  8.         static void Main(string[] args)
  9.         {
  10.             // Local variables.
  11.             // {datatype} {identifier} {assignment operator} {value}
  12.             int localVar = 5;
  13.         }
  14.     }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement