Click here to Skip to main content
15,905,028 members
Home / Discussions / C#
   

C#

 
GeneralRe: Fast string to integer conversion Pin
Guffa7-Jan-09 2:46
Guffa7-Jan-09 2:46 
GeneralRe: Fast string to integer conversion Pin
HosamAly7-Jan-09 8:31
HosamAly7-Jan-09 8:31 
QuestionCalling C# Managed code in VB Pin
satsumatable6-Jan-09 19:47
satsumatable6-Jan-09 19:47 
AnswerRe: Calling C# Managed code in VB Pin
Mycroft Holmes6-Jan-09 20:31
professionalMycroft Holmes6-Jan-09 20:31 
AnswerRe: Calling C# Managed code in VB Pin
Spoon656-Jan-09 22:25
Spoon656-Jan-09 22:25 
AnswerRe: Calling C# Managed code in VB Pin
Dragonfly_Lee6-Jan-09 22:50
Dragonfly_Lee6-Jan-09 22:50 
AnswerRe: Calling C# Managed code in VB Pin
Jason C Bourne7-Jan-09 11:12
Jason C Bourne7-Jan-09 11:12 
Questionreturn 0? Pin
dec826-Jan-09 19:29
dec826-Jan-09 19:29 
public int MyFunction( int a, int b)

{

if (a<= 0)
return (0);
---------------
Other codes
---------------

return (0)
}

Since a=0, the first return(0) is executed, and then it move to second return(0). Why other function inside "Other code" is skipped?
Thanks
AnswerRe: return 0? Pin
mav.northwind6-Jan-09 19:59
mav.northwind6-Jan-09 19:59 
AnswerRe: return 0? Pin
rah_sin6-Jan-09 20:03
professionalrah_sin6-Jan-09 20:03 
AnswerRe: return 0? Pin
«_Superman_»6-Jan-09 21:06
professional«_Superman_»6-Jan-09 21:06 
AnswerRe: return 0? Pin
CPallini6-Jan-09 22:16
mveCPallini6-Jan-09 22:16 
AnswerRe: return 0? Pin
Dragonfly_Lee6-Jan-09 22:52
Dragonfly_Lee6-Jan-09 22:52 
QuestionBlank space in textbox Pin
yesu prakash6-Jan-09 18:36
yesu prakash6-Jan-09 18:36 
AnswerRe: Blank space in textbox Pin
«_Superman_»6-Jan-09 18:50
professional«_Superman_»6-Jan-09 18:50 
AnswerRe: Blank space in textbox Pin
Guffa6-Jan-09 18:54
Guffa6-Jan-09 18:54 
AnswerRe: Blank space in textbox Pin
Dragonfly_Lee6-Jan-09 19:03
Dragonfly_Lee6-Jan-09 19:03 
AnswerRe: Blank space in textbox Pin
0x3c06-Jan-09 20:12
0x3c06-Jan-09 20:12 
QuestionIntegrating Logging Apllication Block with WCF Application Pin
Amit Agarrwal6-Jan-09 18:31
Amit Agarrwal6-Jan-09 18:31 
AnswerRe: Integrating Logging Apllication Block with WCF Application Pin
Not Active6-Jan-09 19:18
mentorNot Active6-Jan-09 19:18 
QuestionWeb Browser DLL Pin
ravanth6-Jan-09 18:13
ravanth6-Jan-09 18:13 
AnswerRe: Web Browser DLL Pin
Eddy Vluggen7-Jan-09 4:45
professionalEddy Vluggen7-Jan-09 4:45 
GeneralRe: Web Browser DLL Pin
ravanth8-Jan-09 1:09
ravanth8-Jan-09 1:09 
Questionequalent c++ operator in c# Pin
lawrenceinba6-Jan-09 18:12
lawrenceinba6-Jan-09 18:12 
AnswerRe: equalent c++ operator in c# Pin
«_Superman_»6-Jan-09 18:55
professional«_Superman_»6-Jan-09 18:55 

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.