0

I am confused about static class and nested class. Is there any difference to code and use of static & nested class?.

3
Contributors
5
Replies
6
Views
7 Years
Discussion Span
Last Post by JamesCherrill
Featured Replies
0

Two is not static, so it needs an instance of One to be created in. ie One.Two p=new One() . new Two(); Alternatively, declare Two as static

0

Two is not static, so it needs an instance of One to be created in. ie One.Two p=new One() . new Two(); Alternatively, declare Two as static

adatapost> Thanks JC. I appreciate your knowledge.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.