Author: Postdk | Posted on: 10/29/2008 3:51:52 AM | Views : 271


Hello My Asp.net Freinds,

I have now been programmering 30 dayes, iam lettet confusing when iam working whit class.

plzz see my code down:

Do i have to do lines 26 and 28 ?

Can i Just say:

 

Asp myasp2 = new Asp();

My_2 = myasp2.returnme();

My_3= myasp2.returnme();

----------------------------------------------------

Can i do this: 

Asp clstest = new Asp();

 int test = clstest.A;

................................................... 

 

 
1
2
3 List My_2 = List();
4
5 List My_3 = List();
6
7 Public class Asp
8
9 {
10
11 int A;
Go to the complete details ...