In C# we have the option of using value types (structs) or reference types (classes). The distinction is important and you should consider carefully which kind of object your types should be. In this post I won't go into detail about how to make this choice, but I'll give you a quick tip for improving performance in your application.
The default implementation of instance Equals() depends on your object type. Reference types inherit System.Object's default implementation, which is a simple object identity (ReferenceEquals()) check. By default, reference types will return true on instance Equals() if and only if they are the same object instance.
Value types, on the other hand, inherit from System.ValueType. This class overrides System.Object.Equals with an implementation that uses reflection to check each field in the struct for equality (using instance Equals()). As you may know, reflection is a powerful tool but is also very inefficient. To drive the point home I wrote a quick program to check the difference in performance between the default equality comparison and a custom implementation that simply compares the fields of the struct, but without using reflection to inspect them.
What I found was that using your own implementation was consistently as much as 7 times faster than using the default implementation. The ratio between the two running times was nearly perfectly constant as the number of iterations increased, and as I varied the number of fields for comparison.
Here are a couple of graphs showing some of my results. The data is identical, but the second graph uses a logarithmic scale on the Y-axis to match that on the X-axis. The difference in performance is approximately 6-fold, sometimes as high as 7-fold. You can see how perfectly it scales with iterations. The scaling with the number of fields is the same.
Equality checking is a fundamental operation. It is often said that you should never optimize your code until you find a performance bottleneck. In my opinion equality comparison of structs in C# is an exception - always override .Equals() with your structs.