3
Answers

internal and static

Suraj Rai

Suraj Rai

12y
1.6k
1

hi,

I have two class say class A and class B.
Now the methods in class B are used only by class A. When I checked class B, I found that few methods are static and few methods are internal.

Can you sugest me is it fine ? Or since I already have an public instance of Class B in class A so I can remove the static modifier and make it internal.

Is there any performance related issues ?

Thanks.

Answers (3)