{"id":1923,"date":"2015-02-05T21:44:30","date_gmt":"2015-02-05T19:44:30","guid":{"rendered":"http:\/\/soci.hu\/blog\/?p=1923"},"modified":"2015-02-05T21:44:30","modified_gmt":"2015-02-05T19:44:30","slug":"net-fejtoro-2-megoldas","status":"publish","type":"post","link":"https:\/\/soci.hu\/blog\/index.php\/2015\/02\/05\/net-fejtoro-2-megoldas\/","title":{"rendered":".NET fejt\u00f6r\u0151 2. megold\u00e1s"},"content":{"rendered":"<p>Feladat <a href=\"http:\/\/soci.hu\/blog\/index.php\/2015\/01\/20\/net-fejtoro-2\/\">itt<\/a>.<\/p>\n<p>Eml\u00e9keztet\u0151\u0171l a feladat:<\/p>\n<pre class=\"brush: csharp; title: ; notranslate\" title=\"\">\r\nvar sb = new StringBuilder();\r\n\r\nfor (int i = 0; i &lt; 10; i++)\r\n{\r\n    sb.Append(i + ' ');\r\n}\r\n<\/pre>\n<p>A m\u0171velet kimenete:<br \/>\n32333435363738394041<\/p>\n<p>Mi\u00e9rt? <\/p>\n<p>i integer, &#8216; &#8216; char. A char nem m\u00e1s, mint egy 16-bites numeric (ordinal) \u00e9rt\u00e9k, mi implicit konvert\u00e1lhat\u00f3 m\u00e1s, nagyobb vagy azonos m\u00e9ret\u0171 <a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/x9h8tsay.aspx\">eg\u00e9szekk\u00e9<\/a>.<br \/>\nAzaz a &#8216; &#8216; sz\u00f3k\u00f6z karakter 32-es k\u00f3dj\u00e1t kell hozz\u00e1adni a ciklusv\u00e1ltoz\u00f3hoz, ez\u00e9rt j\u00f6n ki egy sz\u00e1msorozat v\u00e9geredm\u00e9nyk\u00e9nt.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Feladat itt. Eml\u00e9keztet\u0151\u0171l a feladat: var sb = new StringBuilder(); for (int i = 0; i &lt; 10; i++) { sb.Append(i +&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,4],"tags":[],"class_list":["post-1923","post","type-post","status-publish","format-standard","hentry","category-net","category-szakmai-elet"],"_links":{"self":[{"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1923","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=1923"}],"version-history":[{"count":2,"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1923\/revisions"}],"predecessor-version":[{"id":1928,"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1923\/revisions\/1928"}],"wp:attachment":[{"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=1923"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=1923"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=1923"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}