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

C#

 
GeneralRe: Worker Threads Pin
akshayswaroop12-Jan-06 3:09
akshayswaroop12-Jan-06 3:09 
QuestionUnable to Load XML Pin
Samy Lahur11-Jan-06 2:32
Samy Lahur11-Jan-06 2:32 
AnswerRe: Unable to Load XML Pin
lmoelleb11-Jan-06 3:14
lmoelleb11-Jan-06 3:14 
GeneralRe: Unable to Load XML Pin
Samy Lahur11-Jan-06 4:16
Samy Lahur11-Jan-06 4:16 
AnswerRe: Unable to Load XML Pin
KaptinKrunch11-Jan-06 3:15
KaptinKrunch11-Jan-06 3:15 
GeneralRe: Unable to Load XML Pin
Samy Lahur11-Jan-06 4:15
Samy Lahur11-Jan-06 4:15 
Question.parse vs casting Pin
fmardani11-Jan-06 2:27
fmardani11-Jan-06 2:27 
AnswerRe: .parse vs casting Pin
User 665811-Jan-06 3:03
User 665811-Jan-06 3:03 
Parse will try to convert a value into another one, whereas casting will convert the bits in a way the compiler thinks it should be correct.
Casting a long to an int might cause loss of data. If you're lucky the compiler will give you a warning at compile time.
The Parse method will throw an exception at runtime if the parsing fails. You should use Parse when converting data entered by a user, e.g. to check if the text entered into a textbox is a double value.

regards

modified 12-Sep-18 21:01pm.

AnswerRe: .parse vs casting Pin
Curtis Schlak.11-Jan-06 3:25
Curtis Schlak.11-Jan-06 3:25 
AnswerRe: .parse vs casting Pin
Guffa11-Jan-06 11:17
Guffa11-Jan-06 11:17 
QuestionHow to get the IP address of the current host? Pin
bouli11-Jan-06 1:13
bouli11-Jan-06 1:13 
AnswerRe: How to get the IP address of the current host? Pin
mikailcetinkaya11-Jan-06 9:09
mikailcetinkaya11-Jan-06 9:09 
GeneralRe: How to get the IP address of the current host? Pin
Dave Kreskowiak11-Jan-06 9:34
mveDave Kreskowiak11-Jan-06 9:34 
AnswerRe: How to get the IP address of the current host? Pin
Dave Kreskowiak11-Jan-06 9:32
mveDave Kreskowiak11-Jan-06 9:32 
GeneralRe: How to get the IP address of the current host? Pin
bouli11-Jan-06 10:15
bouli11-Jan-06 10:15 
GeneralRe: How to get the IP address of the current host? Pin
Dave Kreskowiak11-Jan-06 10:53
mveDave Kreskowiak11-Jan-06 10:53 
QuestionFinger print scanner Access in C# Pin
Ckhurana11-Jan-06 0:51
Ckhurana11-Jan-06 0:51 
AnswerRe: Finger print scanner Access in C# Pin
Dave Kreskowiak11-Jan-06 5:45
mveDave Kreskowiak11-Jan-06 5:45 
Questionobject initialization Pin
bidisha_tina11-Jan-06 0:06
bidisha_tina11-Jan-06 0:06 
AnswerRe: object initialization Pin
Colin Angus Mackay11-Jan-06 0:13
Colin Angus Mackay11-Jan-06 0:13 
GeneralRe: object initialization Pin
bidisha_tina11-Jan-06 0:29
bidisha_tina11-Jan-06 0:29 
GeneralRe: object initialization Pin
Colin Angus Mackay11-Jan-06 0:40
Colin Angus Mackay11-Jan-06 0:40 
GeneralRe: object initialization Pin
bidisha_tina11-Jan-06 0:51
bidisha_tina11-Jan-06 0:51 
QuestionEventHandling for Controls inserted(OLE way) in a RichTextBox Pin
Linda Thomas10-Jan-06 23:36
Linda Thomas10-Jan-06 23:36 
QuestionFlicker Free Drawing in C# Pin
AB777110-Jan-06 23:11
AB777110-Jan-06 23:11 

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.