Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C# trouble

Name: Anonymous 2009-12-06 7:50

I dont get it what am i doint wrong?


System.Drawing.Color col;
col = bmp.GetPixel(x, y);
int r = (col.R + col.G + col.B) / 3;
int g = (col.R + col.G + col.B)/ 3;
int b = (col.R + col.G + col.B)/ 3;
col = new System.Drawing.Color.FromArgb(r, g, b);
bmp.SetPixel(x, y, col);


I get

[The nested type `FromArgb' does not exist in the type `System.Drawing.Color'(CS0426)]

Name: Anonymous 2009-12-06 8:30

Since I come from C
faggot!

Name: Anonymous 2009-12-06 11:16

you fucking die nigger dipshit!
i come from C and when it doesnt come to languages with lots of verbose like C# and Java (I mean ffs System.Drawing.Color.FromArgb is a tad long for something so simple) I own you all
ALSO, I use C# cause it saves me time for some things

Name: Anonymous 2009-12-06 11:31

>>9
You dont know shit

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List