Click here to Skip to main content
15,888,351 members
Home / Discussions / C#
   

C#

 
GeneralRe: add SOAP header Pin
Erik Westermann16-Sep-08 3:28
professionalErik Westermann16-Sep-08 3:28 
GeneralRe: add SOAP header Pin
George_George16-Sep-08 3:39
George_George16-Sep-08 3:39 
GeneralRe: add SOAP header Pin
Erik Westermann16-Sep-08 10:32
professionalErik Westermann16-Sep-08 10:32 
GeneralRe: add SOAP header Pin
George_George16-Sep-08 19:57
George_George16-Sep-08 19:57 
Questionabout Functions in c# Pin
vijaylumar10-Sep-08 18:53
vijaylumar10-Sep-08 18:53 
AnswerRe: about Functions in c# Pin
User 665810-Sep-08 19:01
User 665810-Sep-08 19:01 
AnswerRe: about Functions in c# Pin
MarkB77710-Sep-08 19:03
MarkB77710-Sep-08 19:03 
AnswerRe: about Functions in c# Pin
V.10-Sep-08 20:15
professionalV.10-Sep-08 20:15 
in short, if your method returns void, you shouldn't exit, it will exit after automatically after }.
When you return something (object, integer, ...) you should return that type.

private void MethodNoReturn(){
  //do stuff
}

or

private string MethodReturnString(){
  //do stuff

  return a_string;
}


hope this helps...

V.

Stop smoking so you can: Enjoy longer the money you save.
Moviereview Archive

QuestionRe: about Functions in c# Pin
CPallini10-Sep-08 21:37
mveCPallini10-Sep-08 21:37 
Questionneed some help with Directory.GetFiles() Pin
MarkB77710-Sep-08 18:30
MarkB77710-Sep-08 18:30 
AnswerRe: need some help with Directory.GetFiles() Pin
User 665810-Sep-08 18:48
User 665810-Sep-08 18:48 
GeneralRe: need some help with Directory.GetFiles() Pin
MarkB77710-Sep-08 18:59
MarkB77710-Sep-08 18:59 
Questionnose and mouth detection Pin
siewying10-Sep-08 17:46
siewying10-Sep-08 17:46 
AnswerRe: nose and mouth detection Pin
Guffa10-Sep-08 21:18
Guffa10-Sep-08 21:18 
GeneralRe: nose and mouth detection Pin
siewying10-Sep-08 21:20
siewying10-Sep-08 21:20 
QuestionDrive Size, DEC > HEX Pin
Muammar©10-Sep-08 15:01
Muammar©10-Sep-08 15:01 
AnswerRe: Drive Size, DEC > HEX Pin
Robert.C.Cartaino10-Sep-08 17:05
Robert.C.Cartaino10-Sep-08 17:05 
GeneralRe: Drive Size, DEC > HEX Pin
Muammar©11-Sep-08 1:01
Muammar©11-Sep-08 1:01 
QuestionImplementing Application Object Pin
Kevin Marois10-Sep-08 14:40
professionalKevin Marois10-Sep-08 14:40 
AnswerRe: Implementing Application Object Pin
Muammar©10-Sep-08 15:08
Muammar©10-Sep-08 15:08 
GeneralRe: Implementing Application Object Pin
Kevin Marois10-Sep-08 15:26
professionalKevin Marois10-Sep-08 15:26 
AnswerRe: Implementing Application Object Pin
Mark Churchill10-Sep-08 16:18
Mark Churchill10-Sep-08 16:18 
QuestionOutput video to VGA? Pin
DarthDie10-Sep-08 13:56
DarthDie10-Sep-08 13:56 
AnswerRe: Output video to VGA? Pin
Mark Salsbery10-Sep-08 16:14
Mark Salsbery10-Sep-08 16:14 
Questiondatagridview - quick question Pin
nelsonpaixao10-Sep-08 12:46
nelsonpaixao10-Sep-08 12:46 

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.