C# Class VersionSample.Csharp6.SyntaxSugarSample

C# 6.0 の機能はかなりの部分、かなりシンプルな構文糖衣。 .NET 2.0 上で余裕で動く。
Exibir arquivo Open project: ufcpp/UfcppSample

Public Methods

Method Description
Length ( double x, double y ) : double
SameAsLength ( double x, double y ) : double
SameAsX ( ) : void
X ( ) : void
Y ( ) : void

Method Details

Length() public static method

public static Length ( double x, double y ) : double
x double
y double
return double

SameAsLength() public static method

public static SameAsLength ( double x, double y ) : double
x double
y double
return double

SameAsX() public static method

public static SameAsX ( ) : void
return void

X() public static method

public static X ( ) : void
return void

Y() public static method

public static Y ( ) : void
return void