{ "nodes":[ {"id":"f6b18fb450def33a","type":"text","text":"Основы C#![[Pasted image 20260114080807.png]]","x":-220,"y":-120,"width":381,"height":271,"color":"4"}, {"id":"5b4ea5e39e72fade","type":"text","text":"Документирование кода","x":270,"y":-27,"width":250,"height":87,"color":"1"}, {"id":"f12eb2dcba6a8dae","x":77,"y":-539,"width":288,"height":99,"type":"text","text":"```c#\nusing System;\n```"}, {"id":"29cad9ed6b3b9fa2","type":"text","text":"Структура и организация","x":245,"y":-260,"width":275,"height":60,"color":"1"}, {"id":"26ca182996dbc5cf","x":395,"y":-579,"width":305,"height":179,"type":"text","text":"```c#\nnamespace MyProject\n{\n\t// Код программы\n}\n```"}, {"id":"d2a23a42fa31c53d","x":-338,"y":-310,"width":250,"height":60,"color":"1","type":"text","text":"Система типов данных"}, {"id":"932b83d20a7f68f5","x":-697,"y":-310,"width":250,"height":60,"type":"text","text":"Конкретные типы"}, {"id":"bf1e6c520e8d3123","x":-697,"y":-140,"width":250,"height":60,"type":"text","text":"Обнуляемые типы"}, {"id":"aad0db6dfea884ea","x":-572,"y":-42,"width":246,"height":115,"color":"1","type":"text","text":"Работа с переменными и константами"}, {"id":"33ff69228d4cd909","x":-419,"y":151,"width":163,"height":60,"type":"text","text":"Объявление"}, {"id":"18d93fea03697a16","x":-419,"y":247,"width":339,"height":103,"type":"text","text":"```c#\nint class; // неправильно\nint MyValue; // правильно\n```"}, {"id":"c4d649fc5e44df49","x":-362,"y":-470,"width":250,"height":60,"type":"text","text":"Классификация"}, {"id":"cfebde30c15beb22","x":-448,"y":-779,"width":423,"height":290,"type":"text","text":"```c#\n// Значимые типы (Value Types) — хранят значение напрямую\nint x = 10; \n\n// Ссылочные типы (Reference Types) — хранят ссылку на объект\nstring message = \"Hello\"; \nobject obj = new object();\n```"}, {"id":"acf08316b4704ee3","x":-1119,"y":-604,"width":620,"height":230,"type":"text","text":"```c#\nint count = 5; // Целое число\ndouble price = 19.99; // Число с плавающей точкой\nchar letter = 'A'; // Один символ\nstring text = \"C# Bible\"; // Строка текста\nbool isValid = true; // Логический\n```"}, {"id":"0e37fa11ca797770","x":-1417,"y":-299,"width":672,"height":159,"type":"text","text":"```c#\n// Обычный int не может быть null \n// int error = null; // Так нельзя! \n// Nullable тип — может хранить число или ничего (null) \nint? maybeValue = null;\n```"}, {"id":"8bc334bb12f62a1e","x":-784,"y":-57,"width":137,"height":60,"type":"text","text":"Константы"}, {"id":"2424c7c618a3fc49","x":-1224,"y":-91,"width":380,"height":151,"type":"text","text":"```c#\nconst float PI = 3.141592;\nPI = 3.14; // неправильно, константу нельзя менять\n```"}, {"id":"929c4f5617c44c02","x":-840,"y":73,"width":193,"height":60,"type":"text","text":"Инициализация"}, {"id":"8984a938282790a5","x":-697,"y":161,"width":236,"height":50,"type":"text","text":"Неявная типизация"}, {"id":"0521fc631445a274","x":-1108,"y":247,"width":649,"height":152,"type":"text","text":"```c#\nvar x = 10; // компилятор поймёт, что это int\nvar str = \"Hello\"; // компилятор пойем, что это string\n```"}, {"id":"077e00aae08cff67","x":-1007,"y":156,"width":198,"height":60,"type":"text","text":"```c#\nint x = 10;\n```"}, {"id":"5d3016562ac23af4","x":-60,"y":213,"width":149,"height":69,"color":"1","type":"text","text":"Операции и выражения"}, {"id":"e3d00eb293db07b7","x":-398,"y":399,"width":677,"height":330,"type":"text","text":"```c#\n// Арифметика и вывод\nint a = 10;\nint b = 3;\nint result = a + b;\nConsole.WriteLine(result);\n\n// Побитовые операции (из текста книги)\nint binA = 0b_0000_0110; // 6 в двоичной системе\nint binB = 0b_0001_0010; // 18 в двоичной системе\nint logicalOr = binA | binB; // Логическое ИЛИ\n```"}, {"id":"ed24abe744fc51ed","x":320,"y":173,"width":121,"height":64,"color":"1","type":"text","text":"Циклы"}, {"id":"40afed301faa8946","type":"text","text":"```c#\n// однострочные комментарии\n```","x":383,"y":-161,"width":280,"height":81}, {"id":"329fc222bdca397c","type":"text","text":"```c#\n/* многострочные\n комментарии */\n```","x":720,"y":-120,"width":259,"height":130}, {"id":"e59ae3b25b34093c","type":"text","text":"```c#\n/// \n/// XML-комментарий для документирования методов/классов \n/// \n```","x":643,"y":17,"width":476,"height":171}, {"id":"f38d64da8497b429","x":720,"y":233,"width":161,"height":98,"type":"text","text":"по коллекции\n`foreach`"}, {"id":"20414074f89083ba","x":475,"y":204,"width":188,"height":66,"type":"text","text":"С постусловием\n`for`"}, {"id":"84c8bce2b83a8bf7","x":563,"y":350,"width":160,"height":89,"type":"text","text":"со счетчиком\n`do...while`"}, {"id":"0f1d5062a567d0c6","x":317,"y":350,"width":203,"height":94,"type":"text","text":"С предусловием\n`while`"} ], "edges":[ {"id":"e8a4b53cff3d74e5","fromNode":"f6b18fb450def33a","fromSide":"right","toNode":"5b4ea5e39e72fade","toSide":"left","color":"1"}, {"id":"f4d65f3021c654eb","fromNode":"5b4ea5e39e72fade","fromSide":"right","toNode":"40afed301faa8946","toSide":"bottom"}, {"id":"10cbbc1eeec21732","fromNode":"5b4ea5e39e72fade","fromSide":"right","toNode":"329fc222bdca397c","toSide":"left"}, {"id":"e51219a43e7c104b","fromNode":"5b4ea5e39e72fade","fromSide":"right","toNode":"e59ae3b25b34093c","toSide":"left"}, {"id":"3f4b560740b07c94","fromNode":"f6b18fb450def33a","fromSide":"top","toNode":"29cad9ed6b3b9fa2","toSide":"left","color":"1"}, {"id":"9eaa7d4e010c4976","fromNode":"29cad9ed6b3b9fa2","fromSide":"top","toNode":"f12eb2dcba6a8dae","toSide":"bottom"}, {"id":"616ed5c9f3e05a3e","fromNode":"29cad9ed6b3b9fa2","fromSide":"top","toNode":"26ca182996dbc5cf","toSide":"bottom"}, {"id":"109c87f598a6e776","fromNode":"f6b18fb450def33a","fromSide":"top","toNode":"d2a23a42fa31c53d","toSide":"bottom","color":"1"}, {"id":"fd6ce9d5f86e5246","fromNode":"d2a23a42fa31c53d","fromSide":"top","toNode":"c4d649fc5e44df49","toSide":"bottom"}, {"id":"ff4a071657726e92","fromNode":"d2a23a42fa31c53d","fromSide":"left","toNode":"932b83d20a7f68f5","toSide":"right"}, {"id":"4b8996da7e16c328","fromNode":"d2a23a42fa31c53d","fromSide":"left","toNode":"bf1e6c520e8d3123","toSide":"right"}, {"id":"6e9e611050516709","fromNode":"c4d649fc5e44df49","fromSide":"top","toNode":"cfebde30c15beb22","toSide":"bottom"}, {"id":"8d98547e06bb0470","fromNode":"932b83d20a7f68f5","fromSide":"top","toNode":"acf08316b4704ee3","toSide":"bottom"}, {"id":"a7990da395ac4876","fromNode":"f6b18fb450def33a","fromSide":"left","toNode":"aad0db6dfea884ea","toSide":"right","color":"1"}, {"id":"7cbe8d464640bd29","fromNode":"aad0db6dfea884ea","fromSide":"bottom","toNode":"33ff69228d4cd909","toSide":"top"}, {"id":"8815e075220afb38","fromNode":"aad0db6dfea884ea","fromSide":"bottom","toNode":"929c4f5617c44c02","toSide":"top"}, {"id":"99464b5ea5848424","fromNode":"aad0db6dfea884ea","fromSide":"left","toNode":"8bc334bb12f62a1e","toSide":"right"}, {"id":"bc1cf64b1166fce3","fromNode":"929c4f5617c44c02","fromSide":"left","toNode":"077e00aae08cff67","toSide":"top"}, {"id":"61518e3fa26d5d86","fromNode":"33ff69228d4cd909","fromSide":"bottom","toNode":"18d93fea03697a16","toSide":"top"}, {"id":"a8165416f0c39714","fromNode":"8bc334bb12f62a1e","fromSide":"left","toNode":"2424c7c618a3fc49","toSide":"right"}, {"id":"f3753a6d4c79acbb","fromNode":"929c4f5617c44c02","fromSide":"right","toNode":"8984a938282790a5","toSide":"top"}, {"id":"407e24edd196e9fe","fromNode":"8984a938282790a5","fromSide":"bottom","toNode":"0521fc631445a274","toSide":"top"}, {"id":"2240d4132cdecbd9","fromNode":"bf1e6c520e8d3123","fromSide":"top","toNode":"0e37fa11ca797770","toSide":"right"}, {"id":"9289f3b1ff61d4c0","fromNode":"f6b18fb450def33a","fromSide":"bottom","toNode":"5d3016562ac23af4","toSide":"top","color":"1"}, {"id":"4b7f3f1ff1f5987c","fromNode":"5d3016562ac23af4","fromSide":"bottom","toNode":"e3d00eb293db07b7","toSide":"top"}, {"id":"b7228da5f050db88","fromNode":"f6b18fb450def33a","fromSide":"bottom","toNode":"ed24abe744fc51ed","toSide":"top","color":"1"}, {"id":"812612206378ae2e","fromNode":"ed24abe744fc51ed","fromSide":"bottom","toNode":"0f1d5062a567d0c6","toSide":"top"}, {"id":"3de817253bb4ed60","fromNode":"ed24abe744fc51ed","fromSide":"bottom","toNode":"20414074f89083ba","toSide":"top"}, {"id":"72d55674326e1049","fromNode":"ed24abe744fc51ed","fromSide":"bottom","toNode":"84c8bce2b83a8bf7","toSide":"top"}, {"id":"816c578a685460df","fromNode":"ed24abe744fc51ed","fromSide":"bottom","toNode":"f38d64da8497b429","toSide":"left"} ] }