Click here to Skip to main content
15,889,462 members
Home / Discussions / C#
   

C#

 
GeneralRe: String to int Pin
Mirko198019-Mar-09 1:11
Mirko198019-Mar-09 1:11 
GeneralRe: String to int Pin
Michael Bookatz19-Mar-09 1:16
Michael Bookatz19-Mar-09 1:16 
GeneralRe: String to int Pin
Mirko198019-Mar-09 1:36
Mirko198019-Mar-09 1:36 
GeneralRe: String to int Pin
Michael Bookatz19-Mar-09 2:11
Michael Bookatz19-Mar-09 2:11 
GeneralRe: String to int Pin
DaveyM6919-Mar-09 2:11
professionalDaveyM6919-Mar-09 2:11 
AnswerRe: String to int Pin
DaveyM6919-Mar-09 0:18
professionalDaveyM6919-Mar-09 0:18 
GeneralRe: String to int Pin
Greg Chelstowski19-Mar-09 0:57
Greg Chelstowski19-Mar-09 0:57 
GeneralRe: String to int Pin
DaveyM6919-Mar-09 2:18
professionalDaveyM6919-Mar-09 2:18 
Not bad practice, possibly a little slower going via the Convert class but I would have to check the implementation to be sure.

The convert class is great for converting from a built in type to another (not just from string), but I would guess the Int32.Parse or Int32.TryParse methods would be perhaps a little more efficient.

Dave
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)

QuestionBuild number control Pin
12Code18-Mar-09 23:25
12Code18-Mar-09 23:25 
AnswerRe: Build number control Pin
Nagy Vilmos18-Mar-09 23:35
professionalNagy Vilmos18-Mar-09 23:35 
GeneralRe: Build number control Pin
Simon P Stevens18-Mar-09 23:48
Simon P Stevens18-Mar-09 23:48 
GeneralRe: Build number control [modified] Pin
12Code19-Mar-09 0:06
12Code19-Mar-09 0:06 
GeneralRe: Build number control Pin
Simon P Stevens19-Mar-09 0:10
Simon P Stevens19-Mar-09 0:10 
GeneralRe: Build number control Pin
Nagy Vilmos19-Mar-09 0:19
professionalNagy Vilmos19-Mar-09 0:19 
QuestionAllocating opacity for a control in Win App ? Pin
Mohammad Dayyan18-Mar-09 23:17
Mohammad Dayyan18-Mar-09 23:17 
AnswerRe: Allocating opacity for a control in Win App ? Pin
musefan18-Mar-09 23:36
musefan18-Mar-09 23:36 
QuestionRectangle background color Pin
yesu prakash18-Mar-09 23:15
yesu prakash18-Mar-09 23:15 
AnswerRe: Rectangle background color Pin
musefan18-Mar-09 23:35
musefan18-Mar-09 23:35 
AnswerRe: Rectangle background color Pin
Christian Graus18-Mar-09 23:46
protectorChristian Graus18-Mar-09 23:46 
QuestionExtract emoticons from RTF Pin
CodingLover18-Mar-09 23:14
CodingLover18-Mar-09 23:14 
AnswerRe: Extract emoticons from RTF Pin
Simon P Stevens18-Mar-09 23:52
Simon P Stevens18-Mar-09 23:52 
AnswerRe: Extract emoticons from RTF Pin
Giorgi Dalakishvili19-Mar-09 0:44
mentorGiorgi Dalakishvili19-Mar-09 0:44 
QuestionRe: Extract emoticons from RTF Pin
CodingLover19-Mar-09 20:17
CodingLover19-Mar-09 20:17 
QuestionC# Windows Service and POP3 authentication Pin
ejojart18-Mar-09 23:09
ejojart18-Mar-09 23:09 
AnswerRe: C# Windows Service and POP3 authentication Pin
Rob Philpott18-Mar-09 23:46
Rob Philpott18-Mar-09 23: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.