Click here to Skip to main content
15,916,835 members
Home / Discussions / C#
   

C#

 
GeneralRe: Regex vs. String - *Speed* Pin
User 665825-Aug-05 9:50
User 665825-Aug-05 9:50 
GeneralRe: Regex vs. String - *Speed* Pin
Daniel Turini25-Aug-05 10:37
Daniel Turini25-Aug-05 10:37 
GeneralRe: Regex vs. String - *Speed* Pin
User 665825-Aug-05 12:03
User 665825-Aug-05 12:03 
AnswerRe: Regex vs. String - *Speed* Pin
eggie526-Aug-05 7:19
eggie526-Aug-05 7:19 
GeneralRe: Regex vs. String - *Speed* Pin
User 665827-Aug-05 0:33
User 665827-Aug-05 0:33 
QuestionWindows Service Pin
Taurian11025-Aug-05 8:26
Taurian11025-Aug-05 8:26 
QuestionHow to Secure the Configuration Settings Pin
oneworld200225-Aug-05 7:25
oneworld200225-Aug-05 7:25 
Questionforms Pin
xilefxilef25-Aug-05 6:30
xilefxilef25-Aug-05 6:30 
AnswerRe: forms Pin
Judah Gabriel Himango25-Aug-05 7:00
sponsorJudah Gabriel Himango25-Aug-05 7:00 
AnswerRe: forms Pin
Not Active25-Aug-05 7:11
mentorNot Active25-Aug-05 7:11 
GeneralRe: forms Pin
xilefxilef25-Aug-05 8:45
xilefxilef25-Aug-05 8:45 
AnswerRe: forms Pin
jdkulkarni25-Aug-05 19:59
jdkulkarni25-Aug-05 19:59 
QuestionSkype GUI? Pin
wakkerjack25-Aug-05 6:12
wakkerjack25-Aug-05 6:12 
QuestionAdding DataColumns Pin
chandru_inbox25-Aug-05 5:43
chandru_inbox25-Aug-05 5:43 
Questionquerying Active Directory for Exchange Servers Pin
David Junius Bennion25-Aug-05 5:39
David Junius Bennion25-Aug-05 5:39 
Questionproblem in listview with checkbox Pin
fady_sayegh25-Aug-05 5:19
fady_sayegh25-Aug-05 5:19 
QuestionJIT Debugging Pin
LiamD25-Aug-05 4:32
LiamD25-Aug-05 4:32 
QuestionGDI+: how to avoid blur when stretching image Pin
bouli25-Aug-05 4:07
bouli25-Aug-05 4:07 
AnswerRe: GDI+: how to avoid blur when stretching image Pin
Andrew Kirillov25-Aug-05 6:55
Andrew Kirillov25-Aug-05 6:55 
GeneralRe: GDI+: how to avoid blur when stretching image Pin
bouli25-Aug-05 6:56
bouli25-Aug-05 6:56 
QuestionGetting WinForm to "see" Generic Class Pin
...---...25-Aug-05 4:03
...---...25-Aug-05 4:03 
AnswerRe: Getting WinForm to "see" Generic Class Pin
Dave Kreskowiak25-Aug-05 6:52
mveDave Kreskowiak25-Aug-05 6:52 
AnswerRe: Getting WinForm to "see" Generic Class Pin
...---...25-Aug-05 8:01
...---...25-Aug-05 8:01 
GeneralRe: Getting WinForm to "see" Generic Class Pin
Dave Kreskowiak25-Aug-05 10:27
mveDave Kreskowiak25-Aug-05 10:27 
SkunkedWorks wrote:
{
GenericClass genClass = new GenericClass(); C.E.
GenericClass genClass = new GenericClass(2.0, 2.0) C.E.
GenericClass genClass = new GenericClass(double _x, double _y); C.E.

What stupid thing am I doing wrong? Thanks again


Everything except passing to integers:
GenericClass genClass = new GenericClass(2, 2);

In the first list you posted, you didn't pass any parameters. This fails because you don'
t have a constructor that takes no parameters.

The second line, you're passing in two floating point values. You don't have a constructor in your class that takes Single, Double, or Decimal.

The third line fails because, well, you can't declare variable as you pass them.


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

QuestionSockets in C#, how? Pin
User 665825-Aug-05 3:54
User 665825-Aug-05 3:54 

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.