tmara82

Live C# Projects, Challenges & Examples

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