Click here to Skip to main content
16,020,424 members

Comments by nic77m (Top 3 by date)

nic77m 10-Jan-11 14:53pm View    
I'm assuming you're saying no....that it's not possible to know which of the 3 it could be.

I just don't get how hard it is to just distinguish the 3 when creating c# in the first place with a different symbol like...

james.Frontleft.paws.cells.insideCell
james/Frontleft/paws.cells/insideCell
james:Frontleft:paws.cells:insideCell

i studied C at school first. I understand the dot represents a pointer. So if I'm not mistaken, it could be possible that the first part of the text can be a namespace....and then the last part can be an object within an object within an object etc.?
nic77m 10-Jan-11 14:43pm View    
actually, I made the code up...here is the main()
static class Program { static void Main() {
Dog james = new Dog();
MessageBox.Show(james.Frontleft.paws.cells.insideCell); }
}


it's actually an object within an object within an object...
but here is my problem.... How am I suppose to know this without having to look through the rest of the classes?????
I mean, why can't Microsoft make it easy and make a distinction between each one???? It's completely racking my brain!!!
nic77m 10-Jan-11 14:37pm View    
Deleted
actually, I made the code up...here is the main()

static class Program
{
static void Main()
{
Dog james = new Dog();
MessageBox.Show(james.Frontleft.paws.cells.insideCell);
}
}



it's actually an object within an object within an object...

but here is my problem....
How am I suppose to know this without having to look through the rest of the classes????? I mean, why can't Microsoft make it easy and make a distinction between each one???? It's completely racking my brain!!!