public static StreamWriter Write <TKey, TValue>([NotNull] this StreamWriter thisValue, KeyValuePair <TKey, TValue> pair, [NotNull] string format)
 {
     thisValue.Write(pair.Format(format));
     return(thisValue);
 }