<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Tricks on</title><link>https://b5ab24db.blog-guneskorkmaz-net.pages.dev/tags/tricks/</link><description>Recent content in Tricks on</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Tue, 23 Nov 2021 00:00:00 +0000</lastBuildDate><atom:link href="https://b5ab24db.blog-guneskorkmaz-net.pages.dev/tags/tricks/index.xml" rel="self" type="application/rss+xml"/><item><title>Accessing the index of an element when using foreach in C#</title><link>https://b5ab24db.blog-guneskorkmaz-net.pages.dev/chsarp/accessing-the-index-of-an-element-when-using-foreach-in-csharp/</link><pubDate>Tue, 23 Nov 2021 00:00:00 +0000</pubDate><guid>https://b5ab24db.blog-guneskorkmaz-net.pages.dev/chsarp/accessing-the-index-of-an-element-when-using-foreach-in-csharp/</guid><description>While writing foreach, you may need to access the index sometimes, although using for blocks makes more sense in such cases, it is possible to access the index while using foreach...</description></item><item><title>C# 8.0 ??= Null Coalescing Operators &amp; Encapsulation</title><link>https://b5ab24db.blog-guneskorkmaz-net.pages.dev/chsarp/csharp-8-0-null-coalescing-operators-and-encapsulation/</link><pubDate>Sat, 20 Nov 2021 00:00:00 +0000</pubDate><guid>https://b5ab24db.blog-guneskorkmaz-net.pages.dev/chsarp/csharp-8-0-null-coalescing-operators-and-encapsulation/</guid><description>Sometimes in C# we mean that if an object is empty then set to another object otherwise we want to continue using that object. This operator ...</description></item></channel></rss>