Files
docs-desktop/dotnet-desktop-guide/framework/wpf/graphics-multimedia/how-to-test-point4d-structures-for-equality-and-inequality.md
Andy De George da363692ff Initial WPF content migrated (#17)
* Reset branch for WPF changes

* Convert BMP to PNG; fix link-out-of-scope err

* Add snippets for WPF... 6794 files!!!!

* Add missing snippets

* update file updated between migration

* Fix paths to include

* update breadcrumb and toc

* fix index links

* fix index links

* fix index links

* fix markdown
2020-09-04 09:46:28 -07:00

1.7 KiB

title, ms.date, helpviewer_keywords, ms.assetid
title ms.date helpviewer_keywords ms.assetid
How to: Test Point4D structures for equality and inequality 03/30/2017
inequality [WPF], testing Point4D structures for
equality [WPF], testing Point4D structures for
testing [WPF], Point4D structures for equality
Point4D structures [WPF], testing for inequality
testing [WPF], Point4D structures for inequality
Point4D structures [WPF], testing for equality
e004a67e-db7f-4af8-a31f-e6b2a44ccf34

How to: Test Point4D structures for equality and inequality

This example shows how to test xref:System.Windows.Media.Media3D.Point4D structures for equality and inequality.

The following code illustrates how to test xref:System.Windows.Media.Media3D.Point4D structures for equality and inequality using the xref:System.Windows.Media.Media3D.Point4D equality methods. The xref:System.Windows.Media.Media3D.Point4D structures are tested for equality using the overloaded equality (==) operator, then for inequality using the overloaded inequality (!=) operator, and finally a xref:System.Windows.Media.Media3D.Point3D structure and a xref:System.Windows.Media.Media3D.Point4D structure are checked for equality using the static xref:System.Windows.Media.Media3D.Point4D.Equals%2A method.

Example

[!code-csharp3DGallery_procedural_snip#Point4DEqualityExample_csharp]

See also