public static List <List <string> > ConvertListOfListToBin(List <List <string> > list)
        {
            var temp = new List <List <string> >();

            for (int row = 0; row < list.Count; row++)
            {
                temp.Add(new List <string>());
                for (int item = 0; item < list[0].Count; item++)
                {
                    temp[row].Add(NumberExtension.ConvertHexToBin(list[row][item]));
                }
            }
            return(temp);
        }
Exemple #2
0
 public static string XORhex(this string first, string second) =>
 NumberExtension.ConvertBinToHex(NumberExtension.ConvertHexToBin(first).XORbin(NumberExtension.ConvertHexToBin(second)));