[{"data":1,"prerenderedAt":254},["ShallowReactive",2],{"i-lucide:menu":3,"i-lucide:arrow-up-right":8,"i-lucide:moon":10,"i-lucide:sun":12,"i-lucide:rss":14,"i-simple-icons:github":16,"i-simple-icons:linkedin":18,"post-\u002F2011\u002Fnet-course-2-the-revenge-of-c":21,"surround-\u002F2011\u002Fnet-course-2-the-revenge-of-c":241,"i-lucide:arrow-left":250,"i-lucide:arrow-right":252},{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":7},0,24,false,"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 5h16M4 12h16M4 19h16\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":9},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M7 7h10v10M7 17L17 7\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":11},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":13},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Ccircle cx=\"12\" cy=\"12\" r=\"4\"\u002F>\u003Cpath d=\"M12 2v2m0 16v2M4.93 4.93l1.41 1.41m11.32 11.32l1.41 1.41M2 12h2m16 0h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41\"\u002F>\u003C\u002Fg>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":15},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Cpath d=\"M4 11a9 9 0 0 1 9 9M4 4a16 16 0 0 1 16 16\"\u002F>\u003Ccircle cx=\"5\" cy=\"19\" r=\"1\"\u002F>\u003C\u002Fg>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":17},"\u003Cpath fill=\"currentColor\" d=\"M12 .297c-6.63 0-12 5.373-12 12c0 5.303 3.438 9.8 8.205 11.385c.6.113.82-.258.82-.577c0-.285-.01-1.04-.015-2.04c-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729c1.205.084 1.838 1.236 1.838 1.236c1.07 1.835 2.809 1.305 3.495.998c.108-.776.417-1.305.76-1.605c-2.665-.3-5.466-1.332-5.466-5.93c0-1.31.465-2.38 1.235-3.22c-.135-.303-.54-1.523.105-3.176c0 0 1.005-.322 3.3 1.23c.96-.267 1.98-.399 3-.405c1.02.006 2.04.138 3 .405c2.28-1.552 3.285-1.23 3.285-1.23c.645 1.653.24 2.873.12 3.176c.765.84 1.23 1.91 1.23 3.22c0 4.61-2.805 5.625-5.475 5.92c.42.36.81 1.096.81 2.22c0 1.606-.015 2.896-.015 3.286c0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":19,"hidden":20},"\u003Cpath fill=\"currentColor\" d=\"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037c-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85c3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.06 2.06 0 0 1-2.063-2.065a2.064 2.064 0 1 1 2.063 2.065m1.782 13.019H3.555V9h3.564zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0z\"\u002F>",true,{"id":22,"title":23,"body":24,"category":225,"comments":226,"date":227,"description":33,"excerpt":226,"extension":228,"image":226,"meta":229,"navigation":20,"path":230,"readingTime":231,"seo":232,"stem":233,"subtitle":234,"tags":235,"wordCount":239,"__hash__":240},"posts\u002F2011\u002Fnet-course-2-the-revenge-of-c.md",".NET Course 2",{"type":25,"value":26,"toc":223},"minimark",[27,171,183,188,219],[28,29,34],"pre",{"className":30,"code":31,"language":32,"meta":33,"style":33},"language-net shiki shiki-themes github-light github-dark","using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\n\nnamespace ConsoleApplication1\n{\n    class Program\n    {\n        static void Main(string[] args)\n        {\n            Console.WriteLine(&quot;Pythagoras.&quot;);\n            Console.Write(&quot;Kaatet 1: &quot;);\n            double a = Double.Parse(Console.ReadLine());\n            Console.Write(&quot;Kaatet 2: &quot;);\n            double b = Double.Parse(Console.ReadLine());\n            double c = Math.Sqrt((a*a) + (b*b));\n            Console.Write(&quot;H&uuml;potenuus: &quot;);\n            Console.WriteLine(c.ToString());\n        }\n    }\n}\n","net","",[35,36,37,45,51,57,63,69,75,81,87,93,99,105,111,117,123,129,135,141,147,153,159,165],"code",{"__ignoreMap":33},[38,39,42],"span",{"class":40,"line":41},"line",1,[38,43,44],{},"using System;\n",[38,46,48],{"class":40,"line":47},2,[38,49,50],{},"using System.Collections.Generic;\n",[38,52,54],{"class":40,"line":53},3,[38,55,56],{},"using System.Linq;\n",[38,58,60],{"class":40,"line":59},4,[38,61,62],{},"using System.Text;\n",[38,64,66],{"class":40,"line":65},5,[38,67,68],{"emptyLinePlaceholder":20},"\n",[38,70,72],{"class":40,"line":71},6,[38,73,74],{},"namespace ConsoleApplication1\n",[38,76,78],{"class":40,"line":77},7,[38,79,80],{},"{\n",[38,82,84],{"class":40,"line":83},8,[38,85,86],{},"    class Program\n",[38,88,90],{"class":40,"line":89},9,[38,91,92],{},"    {\n",[38,94,96],{"class":40,"line":95},10,[38,97,98],{},"        static void Main(string[] args)\n",[38,100,102],{"class":40,"line":101},11,[38,103,104],{},"        {\n",[38,106,108],{"class":40,"line":107},12,[38,109,110],{},"            Console.WriteLine(&quot;Pythagoras.&quot;);\n",[38,112,114],{"class":40,"line":113},13,[38,115,116],{},"            Console.Write(&quot;Kaatet 1: &quot;);\n",[38,118,120],{"class":40,"line":119},14,[38,121,122],{},"            double a = Double.Parse(Console.ReadLine());\n",[38,124,126],{"class":40,"line":125},15,[38,127,128],{},"            Console.Write(&quot;Kaatet 2: &quot;);\n",[38,130,132],{"class":40,"line":131},16,[38,133,134],{},"            double b = Double.Parse(Console.ReadLine());\n",[38,136,138],{"class":40,"line":137},17,[38,139,140],{},"            double c = Math.Sqrt((a*a) + (b*b));\n",[38,142,144],{"class":40,"line":143},18,[38,145,146],{},"            Console.Write(&quot;H&uuml;potenuus: &quot;);\n",[38,148,150],{"class":40,"line":149},19,[38,151,152],{},"            Console.WriteLine(c.ToString());\n",[38,154,156],{"class":40,"line":155},20,[38,157,158],{},"        }\n",[38,160,162],{"class":40,"line":161},21,[38,163,164],{},"    }\n",[38,166,168],{"class":40,"line":167},22,[38,169,170],{},"}\n",[172,173,174,179],"p",{},[175,176],"img",{"alt":177,"src":178},"Rate online","\u002Fcontent\u002F2011\u002F04\u002Frateonline.png",[175,180],{"alt":181,"src":182},"Activate","\u002Fcontent\u002F2011\u002F04\u002Factivate.png",[184,185,187],"h1",{"id":186},"teemad","Teemad",[189,190,191,195,198,201,204,207,210,213,216],"ul",{},[192,193,194],"li",{},"Objektid, klassid, nende käitumine mälus",[192,196,197],{},"Meetodid, andmetüübid",[192,199,200],{},"Method overloading, operator overloading",[192,202,203],{},"Konstruktor, destruktor",[192,205,206],{},"private, public, protected",[192,208,209],{},"Inheritance (\"pärimine\")",[192,211,212],{},"Overriding",[192,214,215],{},"Setters, getters",[192,217,218],{},"Abstract classes",[220,221,222],"style",{},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":33,"searchDepth":47,"depth":47,"links":224},[],"Learning",null,"2011-04-12","md",{},"\u002F2011\u002Fnet-course-2-the-revenge-of-c","less than 1 minute",{"title":23,"description":33},"2011\u002Fnet-course-2-the-revenge-of-c","The Revenge of C#",[236,237,238],"NET","c#","visual studio",85,"zuVjzJUAXdOws_d5blsDs48_TVGDw686PiRmCaxxgUg",[242,246],{"title":243,"path":244,"stem":245,"children":-1},"Ühistranspordist","\u002F2011\u002Fuhistranspordist","2011\u002Fuhistranspordist",{"title":247,"path":248,"stem":249,"children":-1},"Garage48 2011 Tallinn","\u002F2011\u002Fgarage48-2011-tallinn-recap-reflection","2011\u002Fgarage48-2011-tallinn-recap-reflection",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":251},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m12 19l-7-7l7-7m7 7H5\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":253},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7-7l7 7l-7 7\"\u002F>",1790886932901]