Click here to Skip to main content
16,013,918 members
Home / Discussions / C#
   

C#

 
GeneralC# vs VB.NET. Facts not opinions please :) Pin
David Wengier15-Mar-02 0:49
David Wengier15-Mar-02 0:49 
GeneralRe: C# vs VB.NET. Facts not opinions please :) Pin
Christian Graus15-Mar-02 1:01
protectorChristian Graus15-Mar-02 1:01 
GeneralRe: C# vs VB.NET. Facts not opinions please :) Pin
James T. Johnson15-Mar-02 7:42
James T. Johnson15-Mar-02 7:42 
GeneralRe: C# vs VB.NET. Facts not opinions please :) Pin
James T. Johnson15-Mar-02 7:56
James T. Johnson15-Mar-02 7:56 
GeneralC# - my first stupid question Pin
Christian Graus14-Mar-02 23:27
protectorChristian Graus14-Mar-02 23:27 
GeneralRe: C# - my first stupid question Pin
James T. Johnson15-Mar-02 7:40
James T. Johnson15-Mar-02 7:40 
GeneralRe: C# - my first stupid question Pin
Christian Graus15-Mar-02 9:11
protectorChristian Graus15-Mar-02 9:11 
GeneralRe: C# - my first stupid question Pin
James T. Johnson15-Mar-02 9:26
James T. Johnson15-Mar-02 9:26 
Christian Graus wrote:
If I create a file and save it, do I need to add it to the project somewhere as well ?

Yes, it will have to be added to the project or it won't get compiled. How did you go about creating a file and saving it? If you go through the IDE it should be added to the project for you.

How I add a new class: Right click my project in the Solution Explorer, choose Add then Add New xxxxx (class, component, windows form, etc).

Ah! Just a shot in the dark, do the namespaces match between your two files? Come to think of it, my example didn't have a namespace for foo.cs Blush | :O

If you change the namespace you can let the IDE help you a little, right click on the project and choose Properties, then change the Default Namespace to the base namespace you use.

HTH,

James

Sonork ID: 100.11138 - Hasaki
"Smile your little smile, take some tea with me awhile.
And every day we'll turn another page.
Behind our glass we'll sit and look at our ever-open book,
One brown mouse sitting in a cage."
"One Brown Mouse" from Heavy Horses, Jethro Tull 1978

GeneralRe: C# - my first stupid question Pin
Christian Graus15-Mar-02 9:24
protectorChristian Graus15-Mar-02 9:24 
GeneralRe: C# - my first stupid question Pin
Eric Gunnerson (msft)15-Mar-02 14:28
Eric Gunnerson (msft)15-Mar-02 14:28 
GeneralRe: C# - my first stupid question Pin
Christian Graus15-Mar-02 14:33
protectorChristian Graus15-Mar-02 14:33 
GeneralByte representation of integer Pin
14-Mar-02 17:29
suss14-Mar-02 17:29 
GeneralRe: Byte representation of integer Pin
Serge Krynine14-Mar-02 17:58
Serge Krynine14-Mar-02 17:58 
GeneralCustom Controls for ProgressBar Pin
BLaZiNiX14-Mar-02 16:39
BLaZiNiX14-Mar-02 16:39 
GeneralUpdate status of toolbar buttons Pin
paulb14-Mar-02 13:36
paulb14-Mar-02 13:36 
GeneralRe: Update status of toolbar buttons Pin
James T. Johnson14-Mar-02 13:45
James T. Johnson14-Mar-02 13:45 
QuestionHow to pronounce C#? Pin
Aleksey Suvorov14-Mar-02 9:51
Aleksey Suvorov14-Mar-02 9:51 
AnswerRe: How to pronounce C#? Pin
Larry Antram14-Mar-02 10:34
Larry Antram14-Mar-02 10:34 
GeneralRe: How to pronounce C#? Pin
Christopher Duncan14-Mar-02 10:36
Christopher Duncan14-Mar-02 10:36 
GeneralPE (Portable Executable) Pin
14-Mar-02 5:56
suss14-Mar-02 5:56 
GeneralRe: PE (Portable Executable) Pin
Andres Manggini14-Mar-02 6:44
Andres Manggini14-Mar-02 6:44 
GeneralRe: PE (Portable Executable) Pin
14-Mar-02 11:28
suss14-Mar-02 11:28 
GeneralRe: PE (Portable Executable) Pin
Nemanja Trifunovic14-Mar-02 12:02
Nemanja Trifunovic14-Mar-02 12:02 
GeneralId like some help please.... Pin
13-Mar-02 21:54
suss13-Mar-02 21:54 
GeneralRe: Id like some help please.... Pin
Mazdak13-Mar-02 22:23
Mazdak13-Mar-02 22:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.