S
schizoid_man
Hi,
I have a decent amount of programming experience in C/C++ and have
recently heard very good things about C#. So I decided to take a
look...
The lexical elements and language layout make it a little closer to
Java than to either C or C++, which is pretty interesting.
A question about a project that has say two .cs files. The first class
has the Main() method and the second class has got a non-static public
method called NormsDist().
If I instantiate both classes, how do I call NormsDist() from Main()?
In C++ I would have to include the method in a header file imported by
Main(), so how would the equivalent step work in C#?
Thanks in advance,
Schiz
I have a decent amount of programming experience in C/C++ and have
recently heard very good things about C#. So I decided to take a
look...
The lexical elements and language layout make it a little closer to
Java than to either C or C++, which is pretty interesting.
A question about a project that has say two .cs files. The first class
has the Main() method and the second class has got a non-static public
method called NormsDist().
If I instantiate both classes, how do I call NormsDist() from Main()?
In C++ I would have to include the method in a header file imported by
Main(), so how would the equivalent step work in C#?
Thanks in advance,
Schiz