Dan Alexandru Hintea/ February 26, 2020/ Data Structures, Universal/ 0 comments

public struct Iota
{
public Iota(string id, object jot)
{
ID = id;
Jot = jot?.ToString();
}

public string ID { get; set; }
public string Jot { get; set; }
}

A iota means a tiny or scarcely detectable amount. Which is what I usually use the kvp for, to store the unit of something.

So it felt like a good fit to replace the usage of kvp, as I always hated the very long notation of .net’s generic type.

There’s also a little personal bias to it, as I currently fly an Advance Iota wing :).

Share this Post

Leave a Comment

Your email address will not be published. Required fields are marked *

*
*