<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Hossein Kohzadi</title>
    <description>The latest articles on DEV Community by Hossein Kohzadi (@hossein_kohzadi_1496c1d05).</description>
    <link>https://dev.to/hossein_kohzadi_1496c1d05</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2794977%2Fe1603b25-1d7d-4bd3-9684-cefcdcbf8810.jpg</url>
      <title>DEV Community: Hossein Kohzadi</title>
      <link>https://dev.to/hossein_kohzadi_1496c1d05</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hossein_kohzadi_1496c1d05"/>
    <language>en</language>
    <item>
      <title>Stop Using Enums in Your .NET Application (Here’s a Smarter Way)</title>
      <dc:creator>Hossein Kohzadi</dc:creator>
      <pubDate>Wed, 21 May 2025 17:35:55 +0000</pubDate>
      <link>https://dev.to/hossein_kohzadi_1496c1d05/say-goodbye-to-nested-ifs-unlock-the-power-of-c-3kc8</link>
      <guid>https://dev.to/hossein_kohzadi_1496c1d05/say-goodbye-to-nested-ifs-unlock-the-power-of-c-3kc8</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2sxmu0h1wqw5qujhcrou.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2sxmu0h1wqw5qujhcrou.png" alt="Image description" width="800" height="347"&gt;&lt;/a&gt;&lt;br&gt;
Tired of fighting switch statements and brittle enums in your .NET apps? 😩&lt;br&gt;
There’s a better way.&lt;br&gt;
I just published a guide that:&lt;br&gt;
Exposes why enums hurt flexibility and testability&lt;br&gt;
Shows how to replace them with a scalable, object-oriented approach&lt;br&gt;
Gives you plug-and-play C# examples you can drop into your code today&lt;br&gt;
🧠 If you're building maintainable, modern .NET code — you’ll want to read this.&lt;br&gt;
👉 &lt;a href="https://itnext.io/stop-using-enums-in-your-net-application-heres-a-smarter-way-a5466cb42596" rel="noopener noreferrer"&gt;Stop Using Enums in Your .NET Application — Here’s a Smarter Way&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  dotnet #csharp #refactoring #cleancode #devto
&lt;/h1&gt;

</description>
      <category>dotnet</category>
      <category>csharp</category>
      <category>programming</category>
      <category>softwareengineering</category>
    </item>
    <item>
      <title>Say Goodbye to Nested Ifs! Unlock the Power of C#</title>
      <dc:creator>Hossein Kohzadi</dc:creator>
      <pubDate>Mon, 31 Mar 2025 22:12:15 +0000</pubDate>
      <link>https://dev.to/hossein_kohzadi_1496c1d05/say-goodbye-to-nested-ifs-unlock-the-power-of-c-2pbk</link>
      <guid>https://dev.to/hossein_kohzadi_1496c1d05/say-goodbye-to-nested-ifs-unlock-the-power-of-c-2pbk</guid>
      <description>&lt;p&gt;Write cleaner, faster C# code by replacing tangled conditionals with powerful Pattern matching, perfect for modern .NET developers.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvcdaw495vbsi9nubuzb6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvcdaw495vbsi9nubuzb6.png" alt="Image description" width="800" height="439"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://medium.com/turbo-net/say-goodbye-to-nested-ifs-unlock-the-power-of-c-pattern-matching-76244eb799d6" rel="noopener noreferrer"&gt;https://medium.com/turbo-net/say-goodbye-to-nested-ifs-unlock-the-power-of-c-pattern-matching-76244eb799d6&lt;/a&gt;&lt;/p&gt;

</description>
      <category>csharp</category>
      <category>programming</category>
      <category>softwaredevelopment</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
