<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Shakti Tanwar &#187; C# 6.0</title>
	<atom:link href="http://shaktitanwar.com/category/csharp6/feed/" rel="self" type="application/rss+xml" />
	<link>http://shaktitanwar.com</link>
	<description>Shakti Tanwar - “Dot Net Training”</description>
	<lastBuildDate>Tue, 26 Aug 2025 09:23:19 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.1.4</generator>
	<item>
		<title>C# 6.0 New Features: Index Initializers</title>
		<link>http://shaktitanwar.com/c-6-0-new-features-index-initializers/</link>
		<comments>http://shaktitanwar.com/c-6-0-new-features-index-initializers/#comments</comments>
		<pubDate>Tue, 05 May 2015 10:02:14 +0000</pubDate>
		<dc:creator><![CDATA[Shakti Tanwar]]></dc:creator>
				<category><![CDATA[C# 6.0]]></category>

		<guid isPermaLink="false">http://shaktitanwar.com/?p=283</guid>
		<description><![CDATA[Another new feature although I would say syntax is Index Initializer. This features was although introduced in C# 3.0 and C# 6.0 provides just more concise syntax over that. public class Class { //C# 3.0 Dictionary&#60;int, string&#62; rollNumbers = new Dictionary&#60;int, string&#62; { { 1, "Shakti" }, { 2, "Rahul" [&#8230;]]]></description>
		<wfw:commentRss>http://shaktitanwar.com/c-6-0-new-features-index-initializers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>C# 6.0 New Features: Initialize ReadOnly property from constructors</title>
		<link>http://shaktitanwar.com/c-6-0-new-features-initialize-readonly-property-from-constructors/</link>
		<comments>http://shaktitanwar.com/c-6-0-new-features-initialize-readonly-property-from-constructors/#comments</comments>
		<pubDate>Tue, 05 May 2015 09:59:31 +0000</pubDate>
		<dc:creator><![CDATA[Shakti Tanwar]]></dc:creator>
				<category><![CDATA[C# 6.0]]></category>

		<guid isPermaLink="false">http://shaktitanwar.com/?p=280</guid>
		<description><![CDATA[C# 6.0 introduces the concept of auto property initializer as we discussed in another blog post here Also another feature is deferring the initialization of read-only property from constructor. This feature is available in most recent version of CTP public class Person { public string FirstName { get; } public [&#8230;]]]></description>
		<wfw:commentRss>http://shaktitanwar.com/c-6-0-new-features-initialize-readonly-property-from-constructors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>C# 6.0 New Features: Methods with Expression Body</title>
		<link>http://shaktitanwar.com/c-6-0-new-features-methods-with-expression-body-2/</link>
		<comments>http://shaktitanwar.com/c-6-0-new-features-methods-with-expression-body-2/#comments</comments>
		<pubDate>Mon, 04 May 2015 11:58:12 +0000</pubDate>
		<dc:creator><![CDATA[Shakti Tanwar]]></dc:creator>
				<category><![CDATA[C# 6.0]]></category>

		<guid isPermaLink="false">http://shaktitanwar.com/?p=139</guid>
		<description><![CDATA[Since its release, C# has travelled a long journey from being a imperative language to a declarative one. With this journey the way we use to write methods have also changed a lot. Lets try to understand the journey of a method from C# 1.0 to 6.0 This is how [&#8230;]]]></description>
		<wfw:commentRss>http://shaktitanwar.com/c-6-0-new-features-methods-with-expression-body-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>C# 6.0 New Features : Property Initializers</title>
		<link>http://shaktitanwar.com/c-6-0-new-features-property-initializers-2/</link>
		<comments>http://shaktitanwar.com/c-6-0-new-features-property-initializers-2/#comments</comments>
		<pubDate>Mon, 04 May 2015 11:58:11 +0000</pubDate>
		<dc:creator><![CDATA[Shakti Tanwar]]></dc:creator>
				<category><![CDATA[C# 6.0]]></category>

		<guid isPermaLink="false">http://shaktitanwar.com/?p=114</guid>
		<description><![CDATA[Let&#8217;s go in flashback and try to understand how properties evolved in .Net. Properties are wrapper over fields which controls the way our fields should be accessed and modified. A typical field: private int i = 0; By default variable in a class are private which means they cannot be [&#8230;]]]></description>
		<wfw:commentRss>http://shaktitanwar.com/c-6-0-new-features-property-initializers-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>C# 6.0 New Features : Importing Static classes via USING keyword</title>
		<link>http://shaktitanwar.com/c-6-0-new-features-importing-static-classes-via-using-keyword/</link>
		<comments>http://shaktitanwar.com/c-6-0-new-features-importing-static-classes-via-using-keyword/#comments</comments>
		<pubDate>Mon, 04 May 2015 11:58:11 +0000</pubDate>
		<dc:creator><![CDATA[Shakti Tanwar]]></dc:creator>
				<category><![CDATA[C# 6.0]]></category>

		<guid isPermaLink="false">http://shaktitanwar.com/?p=134</guid>
		<description><![CDATA[Static in C#: Static is a compiler reserved keyword in C#, which can be applied to any member of a class i.e. well Fields, methods, classes, Properties, Events or to a class itself as well. There will be only one copy of a member variable declared as static. Each object [&#8230;]]]></description>
		<wfw:commentRss>http://shaktitanwar.com/c-6-0-new-features-importing-static-classes-via-using-keyword/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>C# 6.0 New Features: Async in Catch and Finally Blocks</title>
		<link>http://shaktitanwar.com/c-6-0-new-features-async-in-catch-and-finally-blocks/</link>
		<comments>http://shaktitanwar.com/c-6-0-new-features-async-in-catch-and-finally-blocks/#comments</comments>
		<pubDate>Mon, 04 May 2015 11:58:11 +0000</pubDate>
		<dc:creator><![CDATA[Shakti Tanwar]]></dc:creator>
				<category><![CDATA[C# 6.0]]></category>

		<guid isPermaLink="false">http://shaktitanwar.com/?p=148</guid>
		<description><![CDATA[The most common programming practice is to catch exceptions and log them. Logging involves IO since we usually log into files or database. IO operations are usually expensive in terms of performance which means that in a serviced kind of environment, the end user who is waiting for a response [&#8230;]]]></description>
		<wfw:commentRss>http://shaktitanwar.com/c-6-0-new-features-async-in-catch-and-finally-blocks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>C# 6.0 New Features: nameOf Expression</title>
		<link>http://shaktitanwar.com/c-6-0-new-features-nameof-expression/</link>
		<comments>http://shaktitanwar.com/c-6-0-new-features-nameof-expression/#comments</comments>
		<pubDate>Mon, 04 May 2015 11:33:41 +0000</pubDate>
		<dc:creator><![CDATA[Shakti Tanwar]]></dc:creator>
				<category><![CDATA[C# 6.0]]></category>

		<guid isPermaLink="false">http://shaktitanwar.com/?p=150</guid>
		<description><![CDATA[Many times in code we need to write the name of class member. Usually while throwing validation exceptions from server or firing PropertyChanged events in case of 2 way bindings. C# 6.0 introduces nameOf expression e.g. public void OldWay(string firstName , string lastName) { if (firstName != null) throw new [&#8230;]]]></description>
		<wfw:commentRss>http://shaktitanwar.com/c-6-0-new-features-nameof-expression/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>C# 6.0 New Features: String Interpolation</title>
		<link>http://shaktitanwar.com/c-6-0-new-features-string-interpolation/</link>
		<comments>http://shaktitanwar.com/c-6-0-new-features-string-interpolation/#comments</comments>
		<pubDate>Mon, 04 May 2015 10:45:36 +0000</pubDate>
		<dc:creator><![CDATA[Shakti Tanwar]]></dc:creator>
				<category><![CDATA[C# 6.0]]></category>

		<guid isPermaLink="false">http://shaktitanwar.com/?p=146</guid>
		<description><![CDATA[Prior to C# 6.0 String concatenation sometimes became challenging in older versions of c#, primarily since we need to write numeric placeholders and than variables in same order. Consider below example string firstName = "Shakti"; string lastName = "Tanwar"; string title = "Mr."; string fullName = string.Format("{0} {1} {2}", title, [&#8230;]]]></description>
		<wfw:commentRss>http://shaktitanwar.com/c-6-0-new-features-string-interpolation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>C# 6.0 New Features: Exception Filters</title>
		<link>http://shaktitanwar.com/c-6-0-new-features-exception-filters/</link>
		<comments>http://shaktitanwar.com/c-6-0-new-features-exception-filters/#comments</comments>
		<pubDate>Mon, 04 May 2015 10:42:24 +0000</pubDate>
		<dc:creator><![CDATA[Shakti Tanwar]]></dc:creator>
				<category><![CDATA[C# 6.0]]></category>

		<guid isPermaLink="false">http://shaktitanwar.com/?p=144</guid>
		<description><![CDATA[Again this is something which was supported in VB but have been introduced into c# as well. public void ExceptionFilters() { try { //Do Something } catch (Exception ex) if (!ex.GetType().Equals(typeof(ArithmeticException))) { //Do something } } As you can see, we have created a filter to handle everything except for [&#8230;]]]></description>
		<wfw:commentRss>http://shaktitanwar.com/c-6-0-new-features-exception-filters/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>C# 6.0 New Features: Null conditional operator</title>
		<link>http://shaktitanwar.com/c-6-0-new-features-null-conditional-operator/</link>
		<comments>http://shaktitanwar.com/c-6-0-new-features-null-conditional-operator/#comments</comments>
		<pubDate>Mon, 04 May 2015 10:39:41 +0000</pubDate>
		<dc:creator><![CDATA[Shakti Tanwar]]></dc:creator>
				<category><![CDATA[C# 6.0]]></category>

		<guid isPermaLink="false">http://shaktitanwar.com/?p=142</guid>
		<description><![CDATA[I have seen in recent past Microsoft has brought back lot of legacy VB stuff into C#. If you remember VB provides with clause , this features bring back memory of that. Dim theCustomer As New Customer With theCustomer .Name = "Coho Vineyard" .URL = "http://www.cohovineyard.com/" .City = "Redmond" End [&#8230;]]]></description>
		<wfw:commentRss>http://shaktitanwar.com/c-6-0-new-features-null-conditional-operator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
