C# Class Build2014.Csharp5.Point

(X, Y) なクラス。X も Y も immutable に作りたい。 その場合、結構煩雑な定型文になってしまう…
Show file Open project: ufcpp/UfcppSample

Public Methods

Method Description
Point ( int x, int y )
ToString ( ) : string

Method Details

Point() public method

public Point ( int x, int y )
x int
y int

ToString() public method

public ToString ( ) : string
return string