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

C#

 
QuestionFast string to integer conversion Pin
HosamAly6-Jan-09 19:58
HosamAly6-Jan-09 19:58 
AnswerRe: Fast string to integer conversion Pin
N a v a n e e t h6-Jan-09 21:10
N a v a n e e t h6-Jan-09 21:10 
GeneralRe: Fast string to integer conversion Pin
HosamAly6-Jan-09 22:29
HosamAly6-Jan-09 22:29 
GeneralRe: Fast string to integer conversion Pin
J4amieC6-Jan-09 23:08
J4amieC6-Jan-09 23:08 
GeneralRe: Fast string to integer conversion Pin
HosamAly6-Jan-09 23:15
HosamAly6-Jan-09 23:15 
GeneralRe: Fast string to integer conversion Pin
J4amieC6-Jan-09 23:54
J4amieC6-Jan-09 23:54 
AnswerRe: Fast string to integer conversion Pin
Dragonfly_Lee6-Jan-09 22:14
Dragonfly_Lee6-Jan-09 22:14 
GeneralRe: Fast string to integer conversion Pin
HosamAly6-Jan-09 22:27
HosamAly6-Jan-09 22:27 
I'm not trying to cast a boxed object. I'm trying to parse a string.

There is no noticable difference between Int32.Parse and Int32.TryParse when the input is known to be correct. Actually, if you open both using Reflector, they use the same implementation, except that one of them throws exceptions for error conditions, while the other just returns false.


GeneralRe: Fast string to integer conversion Pin
Dragonfly_Lee6-Jan-09 22:42
Dragonfly_Lee6-Jan-09 22:42 
AnswerRe: Fast string to integer conversion Pin
Guffa6-Jan-09 23:49
Guffa6-Jan-09 23:49 
GeneralRe: Fast string to integer conversion Pin
N a v a n e e t h7-Jan-09 0:04
N a v a n e e t h7-Jan-09 0:04 
GeneralRe: Fast string to integer conversion Pin
Le centriste7-Jan-09 1:13
Le centriste7-Jan-09 1:13 
GeneralRe: Fast string to integer conversion Pin
HosamAly7-Jan-09 8:59
HosamAly7-Jan-09 8:59 
GeneralRe: Fast string to integer conversion Pin
Le centriste7-Jan-09 9:16
Le centriste7-Jan-09 9:16 
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 
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 

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.