Click here to Skip to main content
15,887,485 members
Home / Discussions / C#
   

C#

 
AnswerRe: Hierarchical Distributed Genetic Algorithm for Image Segmentation Pin
Christian Graus7-Jun-07 15:35
protectorChristian Graus7-Jun-07 15:35 
QuestionFileSystemWatcher Pin
LCI7-Jun-07 10:28
LCI7-Jun-07 10:28 
AnswerRe: FileSystemWatcher Pin
Ylno7-Jun-07 11:42
Ylno7-Jun-07 11:42 
GeneralRe: FileSystemWatcher Pin
LCI8-Jun-07 9:36
LCI8-Jun-07 9:36 
AnswerRe: FileSystemWatcher Pin
mav.northwind8-Jun-07 22:33
mav.northwind8-Jun-07 22:33 
QuestionSearch for non-ASCII characters in a text file Pin
Koshv7-Jun-07 10:22
Koshv7-Jun-07 10:22 
AnswerRe: Search for non-ASCII characters in a text file Pin
Guffa7-Jun-07 13:12
Guffa7-Jun-07 13:12 
Questionbrainbench test with no answer? Pin
brsecu7-Jun-07 10:14
brsecu7-Jun-07 10:14 
I took the Brain Bench test and was asked this question. I thin the answer should be 0,30,30 but it wasn't listed. What am I doing wrong?

public static void Main() {
Coordinates c1 = new Coordinates();
Coordinates c2 = new Coordinates();
int x = 30;
c1.X = 30;
c2.X = 30;
Test(ref c1, c2, x);
Console.WriteLine("C1.X=" + c1.X.ToString() + ", C2.X=" +
c2.X.ToString() + ", X=" + x.ToString());
Console.Read();
}
public static void Test(ref Coordinates Coord1, Coordinates Coord2, int
X) {
Coord1 = new Coordinates();
Coord2 = new Coordinates();
Coord1.X = 0;
Coord2.X = 0;
X = 0;
}
What is the console output for the above sample code?
Choice 1
C1.X=30, C2.X=30, X=30
Choice 2
C1.X=30, C2.X=0, X=00
Choice 3
C1.X=0, C2.X=0, X=30
Choice 4
C1.X=0, C2.X=0, X=0

Thanks in advance for you help
AnswerRe: brainbench test with no answer? Pin
Luc Pattyn7-Jun-07 12:45
sitebuilderLuc Pattyn7-Jun-07 12:45 
AnswerRe: brainbench test with no answer? Pin
Vrungar6-Apr-11 9:04
Vrungar6-Apr-11 9:04 
AnswerRe: brainbench test with no answer? Pin
Luc Pattyn6-Apr-11 13:46
sitebuilderLuc Pattyn6-Apr-11 13:46 
QuestionGraphics image convert to GraphicsPath ? Pin
Epsilone37-Jun-07 9:59
Epsilone37-Jun-07 9:59 
AnswerRe: Graphics image convert to GraphicsPath ? Pin
Dave Kreskowiak7-Jun-07 10:39
mveDave Kreskowiak7-Jun-07 10:39 
GeneralRe: Graphics image convert to GraphicsPath ? Pin
Epsilone37-Jun-07 12:14
Epsilone37-Jun-07 12:14 
GeneralRe: Graphics image convert to GraphicsPath ? Pin
Dave Kreskowiak7-Jun-07 13:25
mveDave Kreskowiak7-Jun-07 13:25 
AnswerRe: Graphics image convert to GraphicsPath ? Pin
Christian Graus7-Jun-07 12:09
protectorChristian Graus7-Jun-07 12:09 
GeneralRe: Graphics image convert to GraphicsPath ? Pin
Epsilone37-Jun-07 12:24
Epsilone37-Jun-07 12:24 
GeneralRe: Graphics image convert to GraphicsPath ? Pin
Christian Graus7-Jun-07 15:42
protectorChristian Graus7-Jun-07 15:42 
QuestionHow can I resize the DataGridView back to defult size? Pin
Khoramdin7-Jun-07 9:39
Khoramdin7-Jun-07 9:39 
AnswerRe: How can I resize the DataGridView back to defult size? Pin
Dave Kreskowiak7-Jun-07 10:38
mveDave Kreskowiak7-Jun-07 10:38 
Questionoracle Client Pin
shereem khaleel7-Jun-07 9:34
shereem khaleel7-Jun-07 9:34 
AnswerRe: oracle Client Pin
Rick van Woudenberg7-Jun-07 11:42
Rick van Woudenberg7-Jun-07 11:42 
QuestionNeed to pass structure to assembly Pin
Amit Kumar G7-Jun-07 9:08
Amit Kumar G7-Jun-07 9:08 
AnswerRe: Need to pass structure to assembly Pin
Not Active7-Jun-07 9:16
mentorNot Active7-Jun-07 9:16 
GeneralRe: Need to pass structure to assembly Pin
Amit Kumar G7-Jun-07 9:24
Amit Kumar G7-Jun-07 9:24 

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.