如果您正苦于以下问题:C# Point.Inequality操作符的具体用法?C# Point.Inequality怎么用?C# Point.Inequality使用的例子?那么, 这里精选的代码示例或许能为您提供帮助。
以下是System.Windows.Point
类Point.Inequality操作符的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为感觉有用的代码点赞,您的评价将有助于系统推荐出更好的C#代码示例。
示例1: overloadedInequalityOperatorExample
private Boolean overloadedInequalityOperatorExample()
{
Point point1 = new Point(20, 30);
Point point2 = new Point(45, 70);
// Check whether the two Points are not equal, using the overloaded
// inequality operator.
// areNotEqual is True.
Boolean areNotEqual = (point1 != point2);
return areNotEqual;
}