red6s

ram15

Feb 18th, 2017
299
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.31 KB | None | 0 0
  1. using System;
  2. class VarAccess
  3. {
  4. class AccessCls
  5. {
  6. public int num1 = 123;
  7. // int num2 = 54;
  8. }
  9. static void Main()
  10. {
  11. AccessCls cls = new AccessCls();
  12. int num1 = 98; num1 = cls.num1;
  13. //int i = cls. Num2;
  14. Console.WriteLine(num1.ToString());
  15.  
  16.  
  17.  
  18. DOWNLOAD FULL PROJECT FROM HERE :
  19.  
  20. http://adf.ly/1k65Sx
Add Comment
Please, Sign In to add comment