{"id":215,"date":"2009-12-10T21:21:34","date_gmt":"2009-12-10T13:21:34","guid":{"rendered":"http:\/\/gameornot.net\/umarzuki\/?p=215"},"modified":"2009-12-10T21:21:34","modified_gmt":"2009-12-10T13:21:34","slug":"compile-kod-c-dengan-mono-pada-debian-lenny","status":"publish","type":"post","link":"https:\/\/umarzuki.org\/blog\/2009\/12\/10\/compile-kod-c-dengan-mono-pada-debian-lenny\/","title":{"rendered":"Compile kod C# dengan Mono pada Debian Lenny"},"content":{"rendered":"<p>Untuk compile kod C#, gunakan mcs dari pakej mono-mcs<\/p>\n<p>Katakan kod sumber adalah kod.cs dengan kandungan seperti berikut<br \/>\n[code lang=&#8217;csharp&#8217;]using System;<\/p>\n<p>class Hello {<br \/>\n\tstatic void Main() {<br \/>\n\t\tConsole.WriteLine (&#8220;Hello, World!&#8221;);<br \/>\n\t}<br \/>\n}<br \/>\n[\/code]<\/p>\n<p>Compile kod seperti berikut:<br \/>\n<code>mcs kod.cs<\/code><\/p>\n<p>Fail executable\/essembly bernama kod.exe akan terhasil. Untuk uji essembly tersebut:<br \/>\n<code>.\/kod.exe<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Untuk compile kod C#, gunakan mcs dari pakej mono-mcs Katakan kod sumber adalah kod.cs dengan kandungan seperti berikut [code lang=&#8217;csharp&#8217;]using System; class Hello { static void Main() { Console.WriteLine (&#8220;Hello, World!&#8221;); } } [\/code] Compile kod seperti berikut: mcs kod.cs Fail executable\/essembly bernama kod.exe akan terhasil. Untuk uji essembly tersebut: .\/kod.exe<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[108],"tags":[106,107],"class_list":["post-215","post","type-post","status-publish","format-standard","hentry","category-pengaturcaraan","tag-c","tag-debian-lenny"],"_links":{"self":[{"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/posts\/215","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/comments?post=215"}],"version-history":[{"count":0,"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/posts\/215\/revisions"}],"wp:attachment":[{"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/media?parent=215"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/categories?post=215"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/tags?post=215"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}