Object....

  • Thread starter Thread starter Mehmet Avsar
  • Start date Start date
M

Mehmet Avsar

Hi Friends;

I want develop a group logic with C# (n tier refraction).I know I must
create a Class and inherit it But I don't have enough know-how about develop
classes. Somebody can help me?

An Example For My Group Logic:

102 Banks
102.01 Credit Banks
102.01.01 Abn Ambro
102.01.01.001 Center Subsidiary
102.01.01.002 Miami Subsidiary
102.01.02 FinanceBank
102.01.02.001 Center Subsidiary
102.01.02.002 Miami Subsidiary

......

Note : We learn sub item via dots. For eample 102.01 Credit Banks is sub
item of 102 Banks

Thank you for interested people.

Arda Han
 
Mehmet,

Classes can be derived from other classes easily. For what you want to
do, you want to start with:

public class Banks
{}

And then derive from it like this:

public classs CreditBanks : Banks
{}

Of course, you will have to add the functionality, but that is how you
would declare your derived classes.

Hope this helps.
 
Hi Nicholas ,

Yes I want create a base account and I can add n tier subitems. My subitems
can have a subitems. I was tryed using parent and id method it is good. But
I want learn class method in C#. Because I am from Delphi. I want change my
programming skills.

Best regards

haber said:
Mehmet,

Classes can be derived from other classes easily. For what you want to
do, you want to start with:

public class Banks
{}

And then derive from it like this:

public classs CreditBanks : Banks
{}

Of course, you will have to add the functionality, but that is how you
would declare your derived classes.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Mehmet Avsar said:
Hi Friends;

I want develop a group logic with C# (n tier refraction).I know I must
create a Class and inherit it But I don't have enough know-how about develop
classes. Somebody can help me?

An Example For My Group Logic:

102 Banks
102.01 Credit Banks
102.01.01 Abn Ambro
102.01.01.001 Center Subsidiary
102.01.01.002 Miami Subsidiary
102.01.02 FinanceBank
102.01.02.001 Center Subsidiary
102.01.02.002 Miami Subsidiary

.....

Note : We learn sub item via dots. For eample 102.01 Credit Banks is sub
item of 102 Banks

Thank you for interested people.

Arda Han
 
Back
Top