H
HalcyonWild
I did try to search this in old posts, but could not find it.
I suppose it is ok to ask beginner level questions here, unlike other
groups, demarcated for beginners and experts.
Suppose I create a class in a namespace, MyNamespace.Trials.
Now, should I create a folder on the disk, like
c:\csprogs\MyNamespace\Trials and keep the generated files there. Or I
can keep them anywhere on the disk.
Also, once I tried making a simple geometry point class, and it would
not compile.
class CSPoint
{
int x;
int y;
//ideally should be double, in a 3d space,
//but just for testing sake, it is 2 ints in a plane
//getter and setter methods.
}
I needed to add a Main. Why is this so.
I come from a Java background.
Thanks.
I suppose it is ok to ask beginner level questions here, unlike other
groups, demarcated for beginners and experts.
Suppose I create a class in a namespace, MyNamespace.Trials.
Now, should I create a folder on the disk, like
c:\csprogs\MyNamespace\Trials and keep the generated files there. Or I
can keep them anywhere on the disk.
Also, once I tried making a simple geometry point class, and it would
not compile.
class CSPoint
{
int x;
int y;
//ideally should be double, in a 3d space,
//but just for testing sake, it is 2 ints in a plane
//getter and setter methods.
}
I needed to add a Main. Why is this so.
I come from a Java background.
Thanks.