Click here to Skip to main content
15,902,447 members
Home / Discussions / C#
   

C#

 
QuestionWhat object is that Error List? Pin
Ian Uy27-Feb-08 14:49
Ian Uy27-Feb-08 14:49 
AnswerRe: What object is that Error List? Pin
Xmen Real 27-Feb-08 15:01
professional Xmen Real 27-Feb-08 15:01 
GeneralRe: What object is that Error List? Pin
Ian Uy27-Feb-08 15:03
Ian Uy27-Feb-08 15:03 
GeneralRe: What object is that Error List? Pin
Xmen Real 27-Feb-08 15:07
professional Xmen Real 27-Feb-08 15:07 
QuestionHow to use ^ in C#? Pin
Joplinazz27-Feb-08 13:53
Joplinazz27-Feb-08 13:53 
AnswerRe: How to use ^ in C#? Pin
Anthony Mushrow27-Feb-08 13:58
professionalAnthony Mushrow27-Feb-08 13:58 
GeneralRe: How to use ^ in C#? Pin
Joplinazz27-Feb-08 14:24
Joplinazz27-Feb-08 14:24 
GeneralRe: How to use ^ in C#? Pin
Guffa27-Feb-08 14:26
Guffa27-Feb-08 14:26 
SK Genius wrote:
And why oh WHY does Math.Floor, and Math.Ceil return double's? They return integers, so why not return an int


Because the rounding operations are floating point operations performed by the FPU. The result is a floating point number, and the methods reflect this.

The methods could of course have included casting so that they returned integer results, but if you then needed the value as a double, that would result in two casts without any good reason at all.

Also, the result of Math.Floor(1000000000000.0) doesn't even fit in an integer.

Some things doesn't make sense until you realise that the alternative makes even less sense. Smile | :)

Despite everything, the person most likely to be fooling you next is yourself.

modified on Wednesday, February 27, 2008 8:39 PM

JokeRe: How to use ^ in C#? Pin
Jammer28-Feb-08 13:35
Jammer28-Feb-08 13:35 
AnswerAdditional Edification Pin
Ennis Ray Lynch, Jr.27-Feb-08 16:54
Ennis Ray Lynch, Jr.27-Feb-08 16:54 
GeneralSaving DataSet Information and then retrieving it [modified] Pin
ConfusedProgger27-Feb-08 13:20
ConfusedProgger27-Feb-08 13:20 
GeneralFXCop Help Pin
Jammer27-Feb-08 13:07
Jammer27-Feb-08 13:07 
GeneralRe: FXCop Help Pin
Vikram A Punathambekar27-Feb-08 18:25
Vikram A Punathambekar27-Feb-08 18:25 
GeneralRe: FXCop Help Pin
Jammer28-Feb-08 9:18
Jammer28-Feb-08 9:18 
QuestionHow to assign a string value to a boolean cell in a datagridview? Pin
Kristhian Herrera27-Feb-08 12:29
Kristhian Herrera27-Feb-08 12:29 
GeneralRe: How to assign a string value to a boolean cell in a datagridview? Pin
Xmen Real 27-Feb-08 14:36
professional Xmen Real 27-Feb-08 14:36 
GeneralRe: How to assign a string value to a boolean cell in a datagridview? Pin
Kristhian Herrera27-Feb-08 14:55
Kristhian Herrera27-Feb-08 14:55 
GeneralRe: How to assign a string value to a boolean cell in a datagridview? Pin
Xmen Real 27-Feb-08 14:59
professional Xmen Real 27-Feb-08 14:59 
GeneralRe: How to assign a string value to a boolean cell in a datagridview? Pin
Kristhian Herrera27-Feb-08 15:05
Kristhian Herrera27-Feb-08 15:05 
GeneralRe: How to assign a string value to a boolean cell in a datagridview? Pin
Xmen Real 27-Feb-08 15:08
professional Xmen Real 27-Feb-08 15:08 
GeneralRe: How to assign a string value to a boolean cell in a datagridview? Pin
Soumini Ramakrishnan28-Feb-08 20:44
Soumini Ramakrishnan28-Feb-08 20:44 
GeneralHook keyboard key in Webbrowser Pin
ric9427-Feb-08 11:04
ric9427-Feb-08 11:04 
GeneralRe: Hook keyboard key in Webbrowser Pin
Luc Pattyn27-Feb-08 11:34
sitebuilderLuc Pattyn27-Feb-08 11:34 
GeneralRe: Hook keyboard key in Webbrowser Pin
ric9427-Feb-08 20:44
ric9427-Feb-08 20:44 
GeneralRe: Hook keyboard key in Webbrowser Pin
Luc Pattyn27-Feb-08 22:27
sitebuilderLuc Pattyn27-Feb-08 22:27 

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.