* 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
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 |
|
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]