{"id":1732,"date":"2016-10-15T07:47:45","date_gmt":"2016-10-15T05:47:45","guid":{"rendered":"http:\/\/doena-journal.net\/en\/?p=1732"},"modified":"2021-09-27T15:44:12","modified_gmt":"2021-09-27T13:44:12","slug":"the-new-c-6-0-language-features-explained","status":"publish","type":"post","link":"https:\/\/doena-journal.net\/en\/1732\/the-new-c-6-0-language-features-explained","title":{"rendered":"The New C# 6.0 Language Features Explained"},"content":{"rendered":"<p>I am a professional and passionate software developer and have been using the Microsoft :NET platform for more than a decade now.<\/p>\n<p>A few months ago the new C# compiler was released which supports the new language version C# 6.0.<\/p>\n<p>The following video which I recorded &#8220;wiff ze German English accent&#8221; I explain some of the new syntax features.<\/p>\n<p>Below the video on Youtube &#8211; but here as well &#8211; you&#8217;ll find the time indices at which a new feature begins:<\/p>\n<p><iframe loading=\"lazy\"  id=\"_ytid_95460\"  width=\"480\" height=\"270\"  data-origwidth=\"480\" data-origheight=\"270\" src=\"https:\/\/www.youtube.com\/embed\/n2BIME0xq2E?enablejsapi=1&#038;autoplay=0&#038;cc_load_policy=0&#038;cc_lang_pref=&#038;iv_load_policy=1&#038;loop=0&#038;rel=1&#038;fs=1&#038;playsinline=0&#038;autohide=2&#038;theme=dark&#038;color=red&#038;controls=1&#038;disablekb=0&#038;\" class=\"__youtube_prefs__  epyt-is-override  no-lazyload\" title=\"YouTube player\"  allow=\"fullscreen; accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen data-no-lazy=\"1\" data-skipgform_ajax_framebjll=\"\"><\/iframe><br \/>\n<!--more--><a href=\"https:\/\/www.microsoft.com\/en-us\/download\/confirmation.aspx?id=7029\">C# 5.0 language specification<\/a><br \/>\n<a href=\"http:\/\/doena-journal.net\/wp-content\/uploads\/2016\/10\/c6slides.zip\">Folien<\/a><br \/>\n<a href=\"http:\/\/doena-journal.net\/wp-content\/uploads\/2016\/10\/IsbnConverter.zip\">ISBN Converter code (old &#038; new)<\/a><br \/>\n<a href=\"http:\/\/doena-journal.net\/wp-content\/uploads\/2016\/10\/c6samples.zip\">C# 6.0 sample programs<\/a><br \/>\n<a href=\"https:\/\/visualstudiogallery.msdn.microsoft.com\/2d9dc963-371d-4e12-a160-0c70a855a8e3\">LetMeEdit<\/a><\/p>\n<p>Timecodes for new features:<br \/>\nClean code preamble: <a href=\"https:\/\/www.youtube.com\/watch?v=n2BIME0xq2E#t=1m10s\">1:10<\/a><br \/>\nString Interpolation: <a href=\"https:\/\/www.youtube.com\/watch?v=n2BIME0xq2E#t=8m19s\">8:19<\/a><br \/>\nusing static: <a href=\"https:\/\/www.youtube.com\/watch?v=n2BIME0xq2E#t=11m40s\">11:40<\/a><br \/>\nExpression-bodied functions: <a href=\"https:\/\/www.youtube.com\/watch?v=n2BIME0xq2E#t=20m56s\">20:56<\/a><br \/>\nnameof <a href=\"https:\/\/www.youtube.com\/watch?v=n2BIME0xq2E#t=29m26s\">29:26<\/a><br \/>\nNull-conditional operator: <a href=\"https:\/\/www.youtube.com\/watch?v=n2BIME0xq2E#t=34m40s\">34:40<\/a><br \/>\nInitializer for auto-properties: <a href=\"https:\/\/www.youtube.com\/watch?v=n2BIME0xq2E#t=37m40s\">37:40<\/a><br \/>\nNull-coalescing operator: <a href=\"https:\/\/www.youtube.com\/watch?v=n2BIME0xq2E#t=63m56s\">1:03:56<\/a><\/p>\n<p>LetMeEdit: <a href=\"https:\/\/www.youtube.com\/watch?v=n2BIME0xq2E#t=76m47s\">1:16:48<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I am a professional and passionate software developer and have been using the Microsoft :NET platform for more than a decade now. A few months&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,870,13],"tags":[1454,1453,1791],"class_list":["post-1732","post","type-post","status-publish","format-standard","hentry","category-misc","category-software","category-web","tag-net","tag-c","tag-yield-return"],"_links":{"self":[{"href":"https:\/\/doena-journal.net\/en\/wp-json\/wp\/v2\/posts\/1732","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/doena-journal.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/doena-journal.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/doena-journal.net\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/doena-journal.net\/en\/wp-json\/wp\/v2\/comments?post=1732"}],"version-history":[{"count":2,"href":"https:\/\/doena-journal.net\/en\/wp-json\/wp\/v2\/posts\/1732\/revisions"}],"predecessor-version":[{"id":1734,"href":"https:\/\/doena-journal.net\/en\/wp-json\/wp\/v2\/posts\/1732\/revisions\/1734"}],"wp:attachment":[{"href":"https:\/\/doena-journal.net\/en\/wp-json\/wp\/v2\/media?parent=1732"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/doena-journal.net\/en\/wp-json\/wp\/v2\/categories?post=1732"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/doena-journal.net\/en\/wp-json\/wp\/v2\/tags?post=1732"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}