13.07.2015 Views

C# Language Specification - Willy .Net

C# Language Specification - Willy .Net

C# Language Specification - Willy .Net

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>C#</strong> LANGUAGE SPECIFICATIONThis method determines whether two Points have the samelocation.o is the object to be compared to the currentobject.True if the Points have the same location and they havethe exact same type; otherwise, false.Report a point's location as a string.A string representing a point's location, in the form(x,y),without any leading, training, or embedded whitespace.This operator determines whether two Points have thesamelocation.p1 is the first Point to be compared.p2 is the second Point to be compared.True if the Points have the same location and they havethe exact same type; otherwise, false.This operator determines whether two Points have thesamelocation.p1 is the first Point to be compared.p2 is the second Point to be compared.True if the Points do not have the same location andtheexact same type; otherwise, false.This is the entry point of the Point class testingprogram.This program tests each method and operator, andis intended to be run after any non-trvial maintenance hasbeen performed on the Point class.Property X represents the point'sx-coordinate.Property Y represents the point'sy-coordinate.448

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!