Click here to Skip to main content
16,011,120 members
Home / Discussions / C#
   

C#

 
Questiondynamic drag and drop window component Pin
anishkannan22-Jan-09 6:56
anishkannan22-Jan-09 6:56 
AnswerRe: dynamic drag and drop window component Pin
Rutvik Dave22-Jan-09 8:19
professionalRutvik Dave22-Jan-09 8:19 
QuestionCreate textbox using array & insert the text box values into sqlserver database using c# Pin
ramya_jkumar22-Jan-09 6:53
ramya_jkumar22-Jan-09 6:53 
AnswerRe: Create textbox using array & insert the text box values into sqlserver database using c# Pin
Wendelius22-Jan-09 8:08
mentorWendelius22-Jan-09 8:08 
Questioncalculating slope of a line Pin
steini144122-Jan-09 6:29
steini144122-Jan-09 6:29 
AnswerRe: calculating slope of a line Pin
DaveyM6922-Jan-09 6:42
professionalDaveyM6922-Jan-09 6:42 
GeneralRe: calculating slope of a line Pin
PIEBALDconsult22-Jan-09 8:38
mvePIEBALDconsult22-Jan-09 8:38 
AnswerRe: calculating slope of a line Pin
PIEBALDconsult22-Jan-09 6:51
mvePIEBALDconsult22-Jan-09 6:51 
What's the purpose of the i = 2; and b = -4; ?

You might want to use properties rather than methods (automatic properties even).
You may even just want the members (X and Y) to be public, and perhaps readonly.
And have you considered using a struct instead?
GeneralRe: calculating slope of a line Pin
steini144122-Jan-09 7:10
steini144122-Jan-09 7:10 
GeneralRe: calculating slope of a line Pin
PIEBALDconsult22-Jan-09 7:12
mvePIEBALDconsult22-Jan-09 7:12 
AnswerRe: calculating slope of a line Pin
Ennis Ray Lynch, Jr.22-Jan-09 7:04
Ennis Ray Lynch, Jr.22-Jan-09 7:04 
GeneralRe: calculating slope of a line Pin
PIEBALDconsult22-Jan-09 7:14
mvePIEBALDconsult22-Jan-09 7:14 
GeneralRe: calculating slope of a line Pin
steini144122-Jan-09 7:46
steini144122-Jan-09 7:46 
GeneralRe: calculating slope of a line Pin
Ennis Ray Lynch, Jr.22-Jan-09 7:49
Ennis Ray Lynch, Jr.22-Jan-09 7:49 
GeneralRe: calculating slope of a line Pin
PIEBALDconsult22-Jan-09 7:53
mvePIEBALDconsult22-Jan-09 7:53 
GeneralRe: calculating slope of a line Pin
steini144122-Jan-09 8:01
steini144122-Jan-09 8:01 
GeneralRe: calculating slope of a line Pin
PIEBALDconsult22-Jan-09 8:07
mvePIEBALDconsult22-Jan-09 8:07 
GeneralRe: calculating slope of a line Pin
steini144122-Jan-09 8:39
steini144122-Jan-09 8:39 
GeneralRe: calculating slope of a line Pin
PIEBALDconsult22-Jan-09 8:41
mvePIEBALDconsult22-Jan-09 8:41 
GeneralRe: calculating slope of a line Pin
steini144122-Jan-09 8:47
steini144122-Jan-09 8:47 
GeneralRe: calculating slope of a line Pin
PIEBALDconsult22-Jan-09 8:51
mvePIEBALDconsult22-Jan-09 8:51 
GeneralRe: calculating slope of a line Pin
steini144122-Jan-09 9:07
steini144122-Jan-09 9:07 
GeneralRe: calculating slope of a line Pin
DaveyM6922-Jan-09 9:37
professionalDaveyM6922-Jan-09 9:37 
GeneralRe: calculating slope of a line Pin
steini144122-Jan-09 9:48
steini144122-Jan-09 9:48 
GeneralRe: calculating slope of a line Pin
PIEBALDconsult23-Jan-09 3:57
mvePIEBALDconsult23-Jan-09 3:57 

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.