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

C#

 
GeneralRe: @#$%(#($ Microsoft and GDI+ Pin
Eric Gunnerson (msft)15-Mar-02 14:25
Eric Gunnerson (msft)15-Mar-02 14:25 
GeneralRe: @#$%(#($ Microsoft and GDI+ Pin
Christian Graus15-Mar-02 14:32
protectorChristian Graus15-Mar-02 14:32 
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 
You don't. C# -- like Java -- doesn't look for dependencies until the linking stage (if you could call it that).

main.cs
using System;

public class Test
{
  public Test() { }

  public static void Main(string [] args) {
    Foo f = new Foo();
    f.SayHello(); 
  }
}
foo.cs
using System;

public class Foo
{
  public Foo() { }
  public void SayHello() {
    System.Console.WriteLine("Hello Chrstian!");
  }
}
That will work just fine, assuming both files are in the compiling process.

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: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 
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 

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.