witam, prosze o wyjasnienie o co chodzi w kodzie ponizej, Jestem slaba w programowaniu i probuje zrozumiec o co chodzi: Z gory dziekuje
public Dictionary<string, bool> GetPower()
{
string result = SendCommand("getpower");
var startIndex = "<html>".Length;
var endIndex = result.LastIndexOf("</html>");
var arr = result.Substring(startIndex, endIndex - startIndex).Split(new char[] { ',' });
Dictionary<string, bool> dict = new Dictionary<string, bool>();
foreach (string cell in arr)