比較兩個點

One of the functionalities available in the Point and PointF classes is the Equals() method. This method is used to compare two points in terms of their x and y coordinates and returns a boolean value.

It's important to note that this method can only be used with Point objects of the same class. Attempting to use this method to compare two points of different classes, such as comparing Point and PointF classes, will result in a NullReferenceException being thrown at runtime.

準備好開始了嗎?
Nuget 下載 13,318,306 | 版本: 2025.3 剛剛發布