﻿
{"id":49,"date":"2012-03-08T16:07:53","date_gmt":"2012-03-08T16:07:53","guid":{"rendered":"http:\/\/www.gencayyildiz.com\/blog\/?p=49"},"modified":"2012-05-28T13:19:40","modified_gmt":"2012-05-28T13:19:40","slug":"cta-kosul-yapilariif-else-if","status":"publish","type":"post","link":"https:\/\/www.gencayyildiz.com\/blog\/cta-kosul-yapilariif-else-if\/","title":{"rendered":"C# Ko\u015ful Yap\u0131lar\u0131[\u0130f-Else \u0130f]"},"content":{"rendered":"<div id=\"fb-root\"><\/div>\n<p>Bu yaz\u0131mda if-else if gibi ko\u015ful yap\u0131lar\u0131ndan bahsedece\u011fim.Buradaki \u00f6nemli nokta if ifadesinin \u015fart\u0131n\u0131n &#8220;True&#8221; ya da &#8220;False&#8221; olmas\u0131d\u0131r.E\u011fer &#8220;True&#8221; ise \u0130f scope&#8217;u devreye girecektir.&#8221;False&#8221; ise else if\u00a0ya da else scope&#8217;u \u00e7al\u0131\u015ft\u0131r\u0131lacakt\u0131r.\u015eart ifadesi k\u0131sm\u0131na ne yaz\u0131l\u0131rsa yaz\u0131ls\u0131n sonucu &#8220;True&#8221; ya da &#8220;False&#8221; olmal\u0131d\u0131r.<br \/>\n<!--more--><br \/>\n<strong> \u0130f-Else Kontrol\u00fc<\/strong><\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\nif (true mu false m\u0131)\r\n{\r\n\/\/\u015eart true oldu\u011funda buras\u0131 \u00e7al\u0131\u015f\u0131r.\r\n\r\n}\r\nelse\r\n{\r\n\/\/\u015eart false oldu\u011funda buras\u0131.\r\n\r\n}\r\n<\/pre>\n<p><strong>\u0130f-Else \u0130f-Else Kontrol\u00fc<\/strong><\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\nif (true mu false m\u0131)\r\n{\r\n\/\/E\u011fer bu ifin \u015fart\u0131 true ise buras\u0131 \u00e7al\u0131\u015facakt\u0131r.\r\n}\r\nelse if (true mu false m\u0131)\r\n{\r\n\/\/Yukar\u0131daki false ise bura denetlenecektir.True ise i\u015flev burada olacakt\u0131r.\r\n}\r\nelse\r\n{\r\n\/\/Yukardakilerden hi\u00e7biri de\u011fil ise burada i\u015flev olacakt\u0131r.\r\n}\r\n<\/pre>\n<p>\u0130yi \u00e7al\u0131\u015fmalar&#8230;<\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>Bu yaz\u0131mda if-else if gibi ko\u015ful yap\u0131lar\u0131ndan bahsedece\u011fim.Buradaki \u00f6nemli nokta if ifadesinin \u015fart\u0131n\u0131n &#8220;True&#8221; ya da &#8220;False&#8221; olmas\u0131d\u0131r.E\u011fer &#8220;True&#8221; ise \u0130f scope&#8217;u devreye girecektir.&#8221;False&#8221; ise else if\u00a0ya da else scope&#8217;u \u00e7al\u0131\u015ft\u0131r\u0131lacakt\u0131r.\u015eart ifadesi k\u0131sm\u0131na ne&#46;&#46;&#46;<!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[47,45,46],"class_list":["post-49","post","type-post","status-publish","format-standard","hentry","category-c-sharp-c","tag-else-if","tag-if","tag-if-else"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.gencayyildiz.com\/blog\/wp-json\/wp\/v2\/posts\/49","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.gencayyildiz.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gencayyildiz.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gencayyildiz.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gencayyildiz.com\/blog\/wp-json\/wp\/v2\/comments?post=49"}],"version-history":[{"count":0,"href":"https:\/\/www.gencayyildiz.com\/blog\/wp-json\/wp\/v2\/posts\/49\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.gencayyildiz.com\/blog\/wp-json\/wp\/v2\/media?parent=49"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gencayyildiz.com\/blog\/wp-json\/wp\/v2\/categories?post=49"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gencayyildiz.com\/blog\/wp-json\/wp\/v2\/tags?post=49"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}