Acidon
Programmer
- May 1, 2004
- 21
Hello C# Gurus, I need a piece of advice.
I am creating an editor for my little game, which I am creating while I learn the C# language. For example, for the Monster Editor, I am creating a struct full of arrays to hold the monster data for all monster records.
My question: Where should I define this struct? In VB, I defined them in their own .bas file. It was nice and clean. Here, I am a bit lost. Can I define all of these structs in a separate location/file? If so, please tell me what / where that should be.
I know that it's obvious that I am a newb here. Just looking for some insight. I appreciate any responses.
Also, I have no C# book at home. I have over 70 books on C, C++, Perl, etc. but no C#. Could I get you to list me some quality C# resources online? I mean somewhere I can go to quickly see the syntax for if statements, loops, etc.
Thank you in advance. Have a great day.
Acidon
I am creating an editor for my little game, which I am creating while I learn the C# language. For example, for the Monster Editor, I am creating a struct full of arrays to hold the monster data for all monster records.
My question: Where should I define this struct? In VB, I defined them in their own .bas file. It was nice and clean. Here, I am a bit lost. Can I define all of these structs in a separate location/file? If so, please tell me what / where that should be.
I know that it's obvious that I am a newb here. Just looking for some insight. I appreciate any responses.
Also, I have no C# book at home. I have over 70 books on C, C++, Perl, etc. but no C#. Could I get you to list me some quality C# resources online? I mean somewhere I can go to quickly see the syntax for if statements, loops, etc.
Thank you in advance. Have a great day.
Acidon