Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- class VarAccess
- {
- class AccessCls
- {
- public int num1 = 123;
- // int num2 = 54;
- }
- static void Main()
- {
- AccessCls cls = new AccessCls();
- int num1 = 98;
- num1 = cls.num1;
- //int i = cls. Num2;
- Console.WriteLine(num1.ToString());
- }
- }
- downloud full project from here :::
- http://viahold.com/fTP
Add Comment
Please, Sign In to add comment