Click here to Skip to main content
15,886,873 members
Home / Discussions / C#
   

C#

 
GeneralProcess Monitoring Pin
vikramlinux24-Jul-03 1:56
vikramlinux24-Jul-03 1:56 
GeneralRe: Process Monitoring Pin
Tom Archer24-Jul-03 2:18
Tom Archer24-Jul-03 2:18 
GeneralCreate Bitmap and LockBits Pin
novachen24-Jul-03 0:51
novachen24-Jul-03 0:51 
GeneralRe: Create Bitmap and LockBits Pin
leppie24-Jul-03 7:26
leppie24-Jul-03 7:26 
Questionhow to add component???? Pin
don7cry24-Jul-03 0:46
don7cry24-Jul-03 0:46 
Generalfunction parameter with default value Pin
zecodela23-Jul-03 23:17
zecodela23-Jul-03 23:17 
GeneralRe: function parameter with default value Pin
monrobot1324-Jul-03 2:37
monrobot1324-Jul-03 2:37 
GeneralRe: function parameter with default value Pin
Frank Olorin Rizzi24-Jul-03 3:26
Frank Olorin Rizzi24-Jul-03 3:26 
Indeed,
the word I've read everywhere in this regard is that you should use multiple
versions of the member. For ex:
instead of
<br />
public void myFunction(int myInt = 3)<br />
{...}<br />

you should have
<br />
public void myFunction(int myInt)<br />
{<br />
//use myInt as needed<br />
}<br />

AND
<br />
public void myFunction()<br />
{<br />
//use 3 (the default value) as needed<br />
}<br />


Also, you could have one overload call the other:
<br />
public void myFunction(int myInt)<br />
{<br />
//use myInt as needed<br />
}<br />

AND
<br />
public void myFunction()<br />
{<br />
  myFunction(3);<br />
}<br />


HTH,
FOR
GeneralRe: function parameter with default value Pin
Tom Archer24-Jul-03 7:13
Tom Archer24-Jul-03 7:13 
GeneralRe: function parameter with default value Pin
leppie24-Jul-03 7:30
leppie24-Jul-03 7:30 
GeneralRe: function parameter with default value Pin
Tom Archer24-Jul-03 7:36
Tom Archer24-Jul-03 7:36 
GeneralRe: function parameter with default value Pin
leppie24-Jul-03 8:17
leppie24-Jul-03 8:17 
GeneralRe: function parameter with default value Pin
Tom Archer24-Jul-03 8:19
Tom Archer24-Jul-03 8:19 
GeneralRe: function parameter with default value Pin
Nemanja Trifunovic24-Jul-03 10:01
Nemanja Trifunovic24-Jul-03 10:01 
GeneralRe: function parameter with default value Pin
Tom Archer24-Jul-03 10:38
Tom Archer24-Jul-03 10:38 
GeneralRe: function parameter with default value Pin
Nemanja Trifunovic24-Jul-03 12:04
Nemanja Trifunovic24-Jul-03 12:04 
GeneralXML selialize Pin
Mazdak23-Jul-03 22:04
Mazdak23-Jul-03 22:04 
GeneralRe: XML selialize Pin
pseudonym6724-Jul-03 7:15
pseudonym6724-Jul-03 7:15 
GeneralToolTip on GDI+ figure Pin
r923-Jul-03 21:13
r923-Jul-03 21:13 
GeneralRe: ToolTip on GDI+ figure Pin
Valeria Bogdevich23-Jul-03 23:15
Valeria Bogdevich23-Jul-03 23:15 
GeneralRe: ToolTip on GDI+ figure Pin
r923-Jul-03 23:29
r923-Jul-03 23:29 
GeneralRe: ToolTip on GDI+ figure Pin
Valeria Bogdevich24-Jul-03 0:18
Valeria Bogdevich24-Jul-03 0:18 
GeneralRe: ToolTip on GDI+ figure Pin
r924-Jul-03 0:23
r924-Jul-03 0:23 
Generalhelppppppppp meeeeeeeee !!! Pin
KETUINHA23-Jul-03 15:51
KETUINHA23-Jul-03 15:51 
GeneralRe: helppppppppp meeeeeeeee !!! Pin
jtmtv1823-Jul-03 16:26
jtmtv1823-Jul-03 16:26 

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.