Skip to content

Instantly share code, notes, and snippets.

View DevinDong's full-sized avatar

devin DevinDong

View GitHub Profile
/// <summary>
/// implement IEquatable(T) to prevent box/unbox.
/// </summary>
public struct DicKey : IEquatable<DicKey>
{
public bool Equals(DicKey other)
{
//some code here...