<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Sajith lal on Medium]]></title>
        <description><![CDATA[Stories by Sajith lal on Medium]]></description>
        <link>https://medium.com/@iamsajithlal?source=rss-4c4dc1284593------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*ttm90ykM491RFg2U</url>
            <title>Stories by Sajith lal on Medium</title>
            <link>https://medium.com/@iamsajithlal?source=rss-4c4dc1284593------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 14:54:18 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@iamsajithlal/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[ #     ?]]></title>
            <link>https://medium.com/@iamsajithlal/-7f6f207bb20d?source=rss-4c4dc1284593------2</link>
            <guid isPermaLink="false">https://medium.com/p/7f6f207bb20d</guid>
            <category><![CDATA[modern-technology]]></category>
            <category><![CDATA[microsoft-technology]]></category>
            <category><![CDATA[c-sharp-programming]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Sajith lal]]></dc:creator>
            <pubDate>Sun, 06 Apr 2025 16:58:40 GMT</pubDate>
            <atom:updated>2026-11-09T18:57:16.310Z</atom:updated>
            <content:encoded><![CDATA[<p>C# has evolved with features that feel more JavaScript-like, making it easier for developers to transition between the two languages. Let’s explore some key features that bring JavaScript-style flexibility to C#.</p><p>☀️ Let’s talk bit about the syntactical similiarities between JavaScript and C#, focusing on their arrow function-style code. although C# introduced lambda expressions earlier in version 3.0, the more function-oriented, arrow-like syntax — similar to JavaScript’s arrow functions was added later, making the language feel more concise and expressive over time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1020/1*cN_T9tLxhZnQi_Kzq2g6UQ.png" /><figcaption>Example of arrow functions both javascript and c#</figcaption></figure><p>☀️ C# has continued evolved to enhance its expressiveness by incorporating features that align with JavaScript patterns. A notable addition in C# 12 is the introduction of collection expressions, which include the spread element (..). This feature mirrors JavaScript&#39;s spread syntax (...).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1020/1*XoelZYxsBvxsYZutKKABNQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*O-MipPBX8AEj8CPCNYMBbg.png" /><figcaption>Spread operator styled code</figcaption></figure><p>☀️ The introduction of pattern matching has enhanced the expressiveness and conciseness of switch expressions compared to JavaScript’s traditional switch statements. This approach allows for more readable code by directly associating patterns with their corresponding outcomes</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/858/1*A41gVLz3AhrxXE-fGMn0sw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/858/1*yR3ACKZtD7XQWUfM7hLLFg.png" /><figcaption>Pattern matching with switch statement</figcaption></figure><p>☀️ File-Based Apps: Goodbye .csproj Boilerplate (.NET 10), In JavaScript, executing code requires nothing more than a single file:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/278/1*TXCDBdtzGjVKTeSGt-yq6g.png" /></figure><p>Starting with <strong>.NET 10</strong>, C# matches this workflow. You no longer need to generate project files (.csproj) or solution wrappers just to run a quick script, automation task, or prototype</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/352/1*4DNTD8bkemg9oc-70sWoow.png" /></figure><p>🔥 𝗠𝗼𝗱𝗲𝗿𝗻 𝗖# = 𝗠𝗼𝗿𝗲 𝗘𝘅𝗽𝗿𝗲𝘀𝘀𝗶𝘃𝗲 + 𝗠𝗼𝗿𝗲 𝗙𝗹𝗲𝘅𝗶𝗯𝗹𝗲<br>The latest C# features blur the gap between statically and dynamically typed languages, making it easier for JavaScript developers to transition to C#.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7f6f207bb20d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>