Click here to Skip to main content
15,913,487 members
Home / Discussions / C#
   

C#

 
Questionhow to check if client still connected to server Pin
batmanAgen23-Feb-06 2:57
batmanAgen23-Feb-06 2:57 
AnswerRe: how to check if client still connected to server Pin
Praveen Nayak23-Feb-06 19:19
Praveen Nayak23-Feb-06 19:19 
GeneralRe: how to check if client still connected to server Pin
batmanAgen23-Feb-06 21:01
batmanAgen23-Feb-06 21:01 
QuestionMicrosoft.DirectX.AudioVideoPlayback.Video Pin
kaka2223-Feb-06 2:12
kaka2223-Feb-06 2:12 
QuestionConstructor overloading Pin
spin vector23-Feb-06 1:56
spin vector23-Feb-06 1:56 
AnswerRe: Constructor overloading Pin
Nicholas Butler23-Feb-06 2:03
sitebuilderNicholas Butler23-Feb-06 2:03 
GeneralRe: Constructor overloading Pin
spin vector23-Feb-06 2:33
spin vector23-Feb-06 2:33 
AnswerRe: Constructor overloading Pin
Guffa23-Feb-06 2:42
Guffa23-Feb-06 2:42 
As part of the constructor declaration you can call a base constructor or another constructor in the same class. This is very convenient for constructor overloading:

class MyClass : AnotherClass {<br />
<br />
private int b;<br />
<br />
// Calls the base constructor:<br />
public MyClass(int a, int b) : base(a) {<br />
  this.b = b;<br />
}<br />
<br />
// Calls the MyClass(int,int) constructor:<br />
public MyClass(int a) : this(a, 42) {}<br />
<br />
// Calls the MyClass(int) constructor:<br />
public MyClass(bool a) : this(a?1:0) {}<br />
<br />
}



---
b { font-weight: normal; }

AnswerRe: Constructor overloading Pin
Nicholas Butler23-Feb-06 2:43
sitebuilderNicholas Butler23-Feb-06 2:43 
Questionthreading problem Pin
Areff23-Feb-06 1:52
Areff23-Feb-06 1:52 
AnswerRe: threading problem Pin
Nicholas Butler23-Feb-06 1:58
sitebuilderNicholas Butler23-Feb-06 1:58 
AnswerRe: threading problem Pin
Le centriste23-Feb-06 3:33
Le centriste23-Feb-06 3:33 
GeneralRe: threading problem Pin
Areff23-Feb-06 4:40
Areff23-Feb-06 4:40 
Questionhow to begining 3d programming with opengl ? Pin
hdv21223-Feb-06 1:33
hdv21223-Feb-06 1:33 
QuestionWindows Start Menu style Pin
Dave McCool23-Feb-06 0:50
Dave McCool23-Feb-06 0:50 
QuestionVideo Application Pin
kaka2223-Feb-06 0:09
kaka2223-Feb-06 0:09 
QuestionOn-Screen-Keyboard manipulating Pin
M-200023-Feb-06 0:08
M-200023-Feb-06 0:08 
QuestionRegarding combobox Pin
A.Grover22-Feb-06 23:54
A.Grover22-Feb-06 23:54 
Question.NET Toolbar Pin
XeoN-Kc22-Feb-06 23:38
XeoN-Kc22-Feb-06 23:38 
QuestionNot able to fetch data using OracleDataAdaptor Pin
nauty22-Feb-06 23:32
nauty22-Feb-06 23:32 
QuestionQODBC data fetching error Pin
Praveen_S22-Feb-06 23:09
Praveen_S22-Feb-06 23:09 
Questionfunction for date format Pin
ptvce22-Feb-06 22:55
ptvce22-Feb-06 22:55 
GeneralRe: function for date format Pin
Guffa23-Feb-06 2:18
Guffa23-Feb-06 2:18 
AnswerRe: function for date format Pin
Miszou23-Feb-06 3:38
Miszou23-Feb-06 3:38 
QuestionOpen XML file Pin
Dave McCool22-Feb-06 22:32
Dave McCool22-Feb-06 22:32 

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.