Click here to Skip to main content
15,897,187 members
Home / Discussions / C#
   

C#

 
GeneralRe: socket handling Pin
cyrus10926-May-05 10:17
cyrus10926-May-05 10:17 
GeneralHandling Win32 logical palette's in C# Pin
Rahsas26-May-05 3:41
Rahsas26-May-05 3:41 
GeneralWord automation selecting tray Pin
Master_Blaster26-May-05 3:05
Master_Blaster26-May-05 3:05 
GeneralRemoting Q. Pin
Member 199247026-May-05 1:06
Member 199247026-May-05 1:06 
GeneralRe: Remoting Q. Pin
S. Senthil Kumar26-May-05 2:59
S. Senthil Kumar26-May-05 2:59 
GeneralRe: Remoting Q. Pin
Member 199247026-May-05 4:42
Member 199247026-May-05 4:42 
GeneralImplementation in C# Pin
Diego12326-May-05 0:52
Diego12326-May-05 0:52 
GeneralRe: Implementation in C# Pin
Marc Clifton26-May-05 1:04
mvaMarc Clifton26-May-05 1:04 
All objects in C# are "by reference".

So, in its simplest form:

public class Airplane
{
  public Cockpit cockpit;
  public Wheel[] wheels;

  public Airplane()
  {
    cockpit=new Cockpit();
    wheels=new Wheel[] {new Wheel(), new Wheel(), new Wheel(), new Wheel()};
  }
}


Now, one would never see that kind of code in real life, I would hope.

Marc

My website

Latest Articles:
Undo/Redo Buffer
Memento Design Pattern
GeneralRe: Implementation in C# Pin
Colin Angus Mackay26-May-05 1:49
Colin Angus Mackay26-May-05 1:49 
GeneralRe: Implementation in C# Pin
S. Senthil Kumar26-May-05 2:55
S. Senthil Kumar26-May-05 2:55 
GeneralRe: Implementation in C# Pin
Colin Angus Mackay26-May-05 3:16
Colin Angus Mackay26-May-05 3:16 
GeneralRe: Implementation in C# Pin
S. Senthil Kumar26-May-05 4:24
S. Senthil Kumar26-May-05 4:24 
GeneralWhy toolbar buttons doesn't care of CausesValidation Pin
Itanium26-May-05 0:38
Itanium26-May-05 0:38 
GeneralRe: Why toolbar buttons doesn't care of CausesValidation Pin
Luis Alonso Ramos26-May-05 5:12
Luis Alonso Ramos26-May-05 5:12 
GeneralRe: Why toolbar buttons doesn't care of CausesValidation Pin
Luis Alonso Ramos26-May-05 5:13
Luis Alonso Ramos26-May-05 5:13 
GeneralRe: Why toolbar buttons doesn't care of CausesValidation Pin
Itanium31-May-05 22:42
Itanium31-May-05 22:42 
GeneralRe: Why toolbar buttons doesn't care of CausesValidation Pin
Luis Alonso Ramos1-Jun-05 6:01
Luis Alonso Ramos1-Jun-05 6:01 
Generaldatagrid complex object binding Pin
nonick226-May-05 0:09
nonick226-May-05 0:09 
GeneralDisplay line and column on satusbar Pin
hoangsamac25-May-05 23:45
hoangsamac25-May-05 23:45 
Generalgetting the ListBox list as an array Pin
Green Fuze25-May-05 23:41
Green Fuze25-May-05 23:41 
GeneralRe: getting the ListBox list as an array Pin
pubududilena26-May-05 0:07
pubududilena26-May-05 0:07 
GeneralRe: getting the ListBox list as an array Pin
Green Fuze26-May-05 1:26
Green Fuze26-May-05 1:26 
GeneralNew starter - Common Module Q. Pin
Member 199247025-May-05 23:11
Member 199247025-May-05 23:11 
GeneralRe: New starter - Common Module Q. Pin
Itanium26-May-05 0:10
Itanium26-May-05 0:10 
GeneralRe: New starter - Common Module Q. Pin
Member 199247026-May-05 1:03
Member 199247026-May-05 1:03 

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.