Hi
objB in aviliable after :
MyClass MyClassObj=New MyClass();
but
objA aviliable in MyClass.objA;
On Feb 28, 4:03 pm, "aravind" <aravindgn... gmail.com> wrote:
> Is there any difference between the creation of objA
and objB in the
> code below
>
> public class MyClass
> {
> private object objA = new object();
> private object objB;
> public MyClass()
> {
> objB = new object();
> }
> }
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "ASP.Net Community" group.
To post to this group, send email to aspnet googlegroups.com
To unsubscribe from this group, send email to
aspnet-unsubscribe googlegroups.com
For more options, visit this group at http://gr
oups.google.com/group/aspnet?hl=en
-~----------~----~----~----~------~----~------~--~---
|