Esempio n. 1
0
 /// <summary>
 /// Writes elements to the console
 /// </summary>
 public static void WriteElements <TSource1, TSource2>(
     this Dictionary <TSource1, TSource2> dict,
     string keyValueSeparator = " => ",
     string elementSeparator  = "\n")
 {
     ExtensionsE
     .ToElementsString(dict, keyValueSeparator, elementSeparator)
     .Log();
 }
Esempio n. 2
0
 public static void LogArrayElements <TSource>(
     this IEnumerable <TSource> enumerable,
     string splitter = ", ")
 {
     ExtensionsE.ToElementsString(enumerable, splitter).Log();
 }