c.im is one of the many independent Mastodon servers you can use to participate in the fediverse.
C.IM is a general, mainly English-speaking Mastodon instance.

Server stats:

2.9K
active users

#csharp

80 posts58 participants4 posts today
Python Weekly 🐍<p>I Built Faster Reinforcement Learning in C# Solo Than Teams Did with Python</p><p><a href="https://rlmatrix.com/manifesto/manifesto/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">rlmatrix.com/manifesto/manifes</span><span class="invisible">to/</span></a></p><p>Discussions: <a href="https://discu.eu/q/https://rlmatrix.com/manifesto/manifesto/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">discu.eu/q/https://rlmatrix.co</span><span class="invisible">m/manifesto/manifesto/</span></a></p><p><a href="https://mastodon.social/tags/csharp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>csharp</span></a> <a href="https://mastodon.social/tags/dotnet" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dotnet</span></a> <a href="https://mastodon.social/tags/programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programming</span></a> <a href="https://mastodon.social/tags/python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python</span></a></p>
WetHat💦<p>How to fix slow code:<br>➡️ Avoid logging everything in production: it eats resources and slows execution.<br>➡️ Loops matter: use optimized methods like list comprehensions in Python for speed.<br>➡️ Be mindful of hardware quirks like cache misses and memory fragmentation.<br>➡️ Understand how database queries and copy-paste operations can impact efficiency. </p><p><a href="https://www.freecodecamp.org/news/why-your-code-is-slow-common-performance-mistakes-beginners-make/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">freecodecamp.org/news/why-your</span><span class="invisible">-code-is-slow-common-performance-mistakes-beginners-make/</span></a></p><p><a href="https://fosstodon.org/tags/Programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Programming</span></a> <a href="https://fosstodon.org/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> <a href="https://fosstodon.org/tags/JavaScript" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JavaScript</span></a> <a href="https://fosstodon.org/tags/Csharp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Csharp</span></a></p>
Aptivi<p>For just one week, we will pause development of all projects. After that, we'll resume normal development.</p><p><a href="https://mastodon.social/tags/csharp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>csharp</span></a> <a href="https://mastodon.social/tags/programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programming</span></a> <a href="https://mastodon.social/tags/Nitrocid" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Nitrocid</span></a> <a href="https://mastodon.social/tags/NitrocidKS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>NitrocidKS</span></a> <a href="https://mastodon.social/tags/KernelSimulator" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>KernelSimulator</span></a> <a href="https://mastodon.social/tags/BassBoom" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>BassBoom</span></a> <a href="https://mastodon.social/tags/Terminaux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Terminaux</span></a> <a href="https://mastodon.social/tags/TechNews" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TechNews</span></a> <a href="https://mastodon.social/tags/TechUpdates" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TechUpdates</span></a></p><p><a href="https://officialaptivi.wordpress.com/2025/03/28/update-for-further-development/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">officialaptivi.wordpress.com/2</span><span class="invisible">025/03/28/update-for-further-development/</span></a></p>
:heart_clockwork: 0x4d6165 :queer_anarchy:<p><span>C# nerds and aspnet core fans how do you do (not how does one but how do you specifically) handle auth between an api and a front end? the docs are like "noooo don't use jwt use oidc!!" and then only seem to provide docs for oidc integration in razor? i can probably figure it out but i feel like i'm "holding something wrong." is it just that microsoft wants you to use entra and nothing else? </span><a href="https://wanderingwires.net/tags/dotnet" rel="nofollow noopener noreferrer" target="_blank">#dotnet</a><span> </span><a href="https://wanderingwires.net/tags/csharp" rel="nofollow noopener noreferrer" target="_blank">#csharp</a><span> </span><a href="https://wanderingwires.net/tags/fediHelp" rel="nofollow noopener noreferrer" target="_blank">#fediHelp</a></p>
Jobs for Developers<p>Mindera is hiring Dot Net Fullstack Developer (Senior/Tech Lead)</p><p>🔧 <a href="https://mastodon.world/tags/csharp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>csharp</span></a> <a href="https://mastodon.world/tags/javascript" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>javascript</span></a> <a href="https://mastodon.world/tags/dotnet" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dotnet</span></a> <a href="https://mastodon.world/tags/aspdotnet" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>aspdotnet</span></a> <a href="https://mastodon.world/tags/react" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>react</span></a> <a href="https://mastodon.world/tags/api" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>api</span></a> <a href="https://mastodon.world/tags/aws" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>aws</span></a> <a href="https://mastodon.world/tags/azure" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>azure</span></a> <a href="https://mastodon.world/tags/gcp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>gcp</span></a> <a href="https://mastodon.world/tags/mvc" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>mvc</span></a> <a href="https://mastodon.world/tags/sql" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sql</span></a> <a href="https://mastodon.world/tags/seniorengineer" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>seniorengineer</span></a> <a href="https://mastodon.world/tags/techlead" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>techlead</span></a><br>🌎 Bengaluru, India<br>⏰ Full-time<br>🏢 Mindera</p><p>Job details <a href="https://jobsfordevelopers.com/jobs/dot-net-fullstack-developer-senior-tech-lead-at-mindera-com-mar-26-2024-94ca8b?utm_source=mastodon.world&amp;utm_medium=social&amp;utm_campaign=posting" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">jobsfordevelopers.com/jobs/dot</span><span class="invisible">-net-fullstack-developer-senior-tech-lead-at-mindera-com-mar-26-2024-94ca8b?utm_source=mastodon.world&amp;utm_medium=social&amp;utm_campaign=posting</span></a><br><a href="https://mastodon.world/tags/jobalert" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>jobalert</span></a> <a href="https://mastodon.world/tags/jobsearch" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>jobsearch</span></a> <a href="https://mastodon.world/tags/hiring" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>hiring</span></a></p>
Alvin Ashcraft 🐿️<p>Dew Drop Weekly Newsletter #426 - Week ending March 28, 2025.</p><p><a href="https://zc.vg/vwFe8?m=0" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">zc.vg/vwFe8?m=0</span><span class="invisible"></span></a> </p><p><a href="https://hachyderm.io/tags/dotnet" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dotnet</span></a> <a href="https://hachyderm.io/tags/ai" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ai</span></a> <a href="https://hachyderm.io/tags/csharp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>csharp</span></a> <a href="https://hachyderm.io/tags/javascript" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>javascript</span></a> <a href="https://hachyderm.io/tags/dotnetmaui" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dotnetmaui</span></a> <a href="https://hachyderm.io/tags/sqlserver" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sqlserver</span></a> <a href="https://hachyderm.io/tags/podcasts" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>podcasts</span></a> <a href="https://hachyderm.io/tags/windev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>windev</span></a> <a href="https://hachyderm.io/tags/xaml" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>xaml</span></a> <a href="https://hachyderm.io/tags/devops" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>devops</span></a> <a href="https://hachyderm.io/tags/IoT" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>IoT</span></a> <a href="https://hachyderm.io/tags/agile" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>agile</span></a> <a href="https://hachyderm.io/tags/m365" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>m365</span></a></p>
Alvin Ashcraft 🐿️<p>Technology &amp; Friends: Mads Torgersen on Designing a Programming Language | with host David Giard.</p><p><a href="https://davidgiard.com/mads-torgersen-on-designing-a-programming-language" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">davidgiard.com/mads-torgersen-</span><span class="invisible">on-designing-a-programming-language</span></a></p><p><a href="https://hachyderm.io/tags/csharp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>csharp</span></a> <a href="https://hachyderm.io/tags/dotnet" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dotnet</span></a> <a href="https://hachyderm.io/tags/programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programming</span></a> <a href="https://hachyderm.io/tags/podcast" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>podcast</span></a> <a href="https://hachyderm.io/tags/devcommunity" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>devcommunity</span></a></p>
Alvin Ashcraft<p>Technology &amp; Friends: Mads Torgersen on Designing a Programming Language | with host David Giard. <a href="https://davidgiard.com/mads-torgersen-on-designing-a-programming-language" rel="nofollow noopener noreferrer" target="_blank">davidgiard.com/mads-torgers...</a> <a class="hashtag" href="https://bsky.app/search?q=%23csharp" rel="nofollow noopener noreferrer" target="_blank">#csharp</a> <a class="hashtag" href="https://bsky.app/search?q=%23dotnet" rel="nofollow noopener noreferrer" target="_blank">#dotnet</a> <a class="hashtag" href="https://bsky.app/search?q=%23programming" rel="nofollow noopener noreferrer" target="_blank">#programming</a> <a class="hashtag" href="https://bsky.app/search?q=%23podcast" rel="nofollow noopener noreferrer" target="_blank">#podcast</a> <a class="hashtag" href="https://bsky.app/search?q=%23devcommunity" rel="nofollow noopener noreferrer" target="_blank">#devcommunity</a><br><br><a href="https://davidgiard.com/mads-torgersen-on-designing-a-programming-language" rel="nofollow noopener noreferrer" target="_blank">Mads Torgersen on Designing a ...</a></p>
Jobs for Developers<p>Byte-Code is hiring Front-End Engineer</p><p>🔧 <a href="https://mastodon.world/tags/csharp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>csharp</span></a> <a href="https://mastodon.world/tags/react" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>react</span></a> <a href="https://mastodon.world/tags/redux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>redux</span></a> <a href="https://mastodon.world/tags/api" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>api</span></a> <a href="https://mastodon.world/tags/docker" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>docker</span></a> <a href="https://mastodon.world/tags/kubernetes" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>kubernetes</span></a><br>🌎 Chiasso, Switzerland<br>⏰ Full-time<br>🏢 Byte-Code</p><p>Job details <a href="https://jobsfordevelopers.com/jobs/front-end-engineer-at-byte-code-com-mar-6-2025-ee6208?utm_source=mastodon.world&amp;utm_medium=social&amp;utm_campaign=posting" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">jobsfordevelopers.com/jobs/fro</span><span class="invisible">nt-end-engineer-at-byte-code-com-mar-6-2025-ee6208?utm_source=mastodon.world&amp;utm_medium=social&amp;utm_campaign=posting</span></a><br><a href="https://mastodon.world/tags/jobalert" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>jobalert</span></a> <a href="https://mastodon.world/tags/jobsearch" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>jobsearch</span></a> <a href="https://mastodon.world/tags/hiring" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>hiring</span></a></p>
Alvin Ashcraft 🐿️<p>Dew Drop – March 27, 2025 (#4392)</p><p><a href="https://www.alvinashcraft.com/2025/03/27/dew-drop-march-27-2025-4392/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">alvinashcraft.com/2025/03/27/d</span><span class="invisible">ew-drop-march-27-2025-4392/</span></a></p><p><a href="https://hachyderm.io/tags/dotnet" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dotnet</span></a> <a href="https://hachyderm.io/tags/cloud" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cloud</span></a> <a href="https://hachyderm.io/tags/windowsdev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>windowsdev</span></a> <a href="https://hachyderm.io/tags/ai" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ai</span></a> <a href="https://hachyderm.io/tags/webdev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>webdev</span></a> <a href="https://hachyderm.io/tags/visualstudio" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>visualstudio</span></a> <a href="https://hachyderm.io/tags/mobiledev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>mobiledev</span></a> <a href="https://hachyderm.io/tags/csharp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>csharp</span></a> <a href="https://hachyderm.io/tags/dewdrop" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dewdrop</span></a></p>
MostlyBlindGamer<p>I would like <a href="https://dragonscave.space/tags/Rust" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Rust</span></a> pattern matching guardrails in <a href="https://dragonscave.space/tags/CSharp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CSharp</span></a> switch case statements with tuples.</p><p>Thank you.</p>
Alvin Ashcraft 🐿️<p>Level Up Your Razor Pages: Meet htmx, Your New Best Friend | by Chris Woodruff.</p><p><a href="https://woodruff.dev/level-up-your-razor-pages-meet-htmx-your-new-best-friend/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">woodruff.dev/level-up-your-raz</span><span class="invisible">or-pages-meet-htmx-your-new-best-friend/</span></a></p><p><a href="https://hachyderm.io/tags/dotnet" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dotnet</span></a> <a href="https://hachyderm.io/tags/webdev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>webdev</span></a> <a href="https://hachyderm.io/tags/htmx" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>htmx</span></a> <a href="https://hachyderm.io/tags/razorpages" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>razorpages</span></a> <a href="https://hachyderm.io/tags/aspnetcore" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>aspnetcore</span></a> <a href="https://hachyderm.io/tags/csharp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>csharp</span></a></p>
Alvin Ashcraft<p>Level Up Your Razor Pages: Meet htmx, Your New Best Friend | by Chris Woodruff. <a href="https://woodruff.dev/level-up-your-razor-pages-meet-htmx-your-new-best-friend/" rel="nofollow noopener noreferrer" target="_blank">woodruff.dev/level-up-you...</a> <a class="hashtag" href="https://bsky.app/search?q=%23dotnet" rel="nofollow noopener noreferrer" target="_blank">#dotnet</a> <a class="hashtag" href="https://bsky.app/search?q=%23webdev" rel="nofollow noopener noreferrer" target="_blank">#webdev</a> <a class="hashtag" href="https://bsky.app/search?q=%23htmx" rel="nofollow noopener noreferrer" target="_blank">#htmx</a> <a class="hashtag" href="https://bsky.app/search?q=%23razorpages" rel="nofollow noopener noreferrer" target="_blank">#razorpages</a> <a class="hashtag" href="https://bsky.app/search?q=%23aspnetcore" rel="nofollow noopener noreferrer" target="_blank">#aspnetcore</a> <a class="hashtag" href="https://bsky.app/search?q=%23csharp" rel="nofollow noopener noreferrer" target="_blank">#csharp</a><br><br><a href="https://woodruff.dev/level-up-your-razor-pages-meet-htmx-your-new-best-friend/" rel="nofollow noopener noreferrer" target="_blank">Level Up Your Razor Pages: Mee...</a></p>
Alvin Ashcraft 🐿️<p>Exploring new .NET releases with Dev Containers | by Mike Kistler.</p><p><a href="https://devblogs.microsoft.com/dotnet/dotnet-in-dev-container/?hide_banner=true" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">devblogs.microsoft.com/dotnet/</span><span class="invisible">dotnet-in-dev-container/?hide_banner=true</span></a></p><p><a href="https://hachyderm.io/tags/dotnet" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dotnet</span></a> <a href="https://hachyderm.io/tags/containers" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>containers</span></a> <a href="https://hachyderm.io/tags/csharp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>csharp</span></a> <a href="https://hachyderm.io/tags/programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programming</span></a> <a href="https://hachyderm.io/tags/devcontainers" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>devcontainers</span></a></p>
Alvin Ashcraft<p>Exploring new .NET releases with Dev Containers | by Mike Kistler. <a href="https://buff.ly/LS2KKN9" rel="nofollow noopener noreferrer" target="_blank">buff.ly/LS2KKN9</a> <a class="hashtag" href="https://bsky.app/search?q=%23dotnet" rel="nofollow noopener noreferrer" target="_blank">#dotnet</a> <a class="hashtag" href="https://bsky.app/search?q=%23containers" rel="nofollow noopener noreferrer" target="_blank">#containers</a> <a class="hashtag" href="https://bsky.app/search?q=%23csharp" rel="nofollow noopener noreferrer" target="_blank">#csharp</a> <a class="hashtag" href="https://bsky.app/search?q=%23programming" rel="nofollow noopener noreferrer" target="_blank">#programming</a> <a class="hashtag" href="https://bsky.app/search?q=%23devcontainers" rel="nofollow noopener noreferrer" target="_blank">#devcontainers</a><br><br><a href="https://buff.ly/LS2KKN9" rel="nofollow noopener noreferrer" target="_blank">Exploring new .NET releases wi...</a></p>
Alvin Ashcraft 🐿️<p>Getting Started: Document Editor for Blazor in <a href="https://hachyderm.io/tags/ASPNETCore" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ASPNETCore</span></a> | by Bjoern Meyer.</p><p><a href="https://www.textcontrol.com/blog/2025/03/25/getting-started-document-editor-for-blazor-in-asp-net-core/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">textcontrol.com/blog/2025/03/2</span><span class="invisible">5/getting-started-document-editor-for-blazor-in-asp-net-core/</span></a></p><p><a href="https://hachyderm.io/tags/blazor" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>blazor</span></a> <a href="https://hachyderm.io/tags/dotnet" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dotnet</span></a> <a href="https://hachyderm.io/tags/webdev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>webdev</span></a> <a href="https://hachyderm.io/tags/ux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ux</span></a> <a href="https://hachyderm.io/tags/csharp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>csharp</span></a></p>
Alvin Ashcraft 🐿️<p>Dew Drop – March 26, 2025 (#4390)</p><p><a href="https://www.alvinashcraft.com/2025/03/26/dew-drop-march-26-2025-4390/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">alvinashcraft.com/2025/03/26/d</span><span class="invisible">ew-drop-march-26-2025-4390/</span></a></p><p><a href="https://hachyderm.io/tags/dotnet" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dotnet</span></a> <a href="https://hachyderm.io/tags/cloud" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cloud</span></a> <a href="https://hachyderm.io/tags/ai" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ai</span></a> <a href="https://hachyderm.io/tags/webdev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>webdev</span></a> <a href="https://hachyderm.io/tags/windowsdev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>windowsdev</span></a> <a href="https://hachyderm.io/tags/visualstudio" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>visualstudio</span></a> <a href="https://hachyderm.io/tags/mobiledev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>mobiledev</span></a> <a href="https://hachyderm.io/tags/csharp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>csharp</span></a> <a href="https://hachyderm.io/tags/dewdrop" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dewdrop</span></a></p>
Alvin Ashcraft<p>Dew Drop – March 26, 2025 (#4390) <a href="https://www.alvinashcraft.com/2025/03/26/dew-drop-march-26-2025-4390/" rel="nofollow noopener noreferrer" target="_blank">www.alvinashcraft.com/2025/03/26/d...</a> <a class="hashtag" href="https://bsky.app/search?q=%23dotnet" rel="nofollow noopener noreferrer" target="_blank">#dotnet</a> <a class="hashtag" href="https://bsky.app/search?q=%23cloud" rel="nofollow noopener noreferrer" target="_blank">#cloud</a> <a class="hashtag" href="https://bsky.app/search?q=%23ai" rel="nofollow noopener noreferrer" target="_blank">#ai</a> <a class="hashtag" href="https://bsky.app/search?q=%23webdev" rel="nofollow noopener noreferrer" target="_blank">#webdev</a> <a class="hashtag" href="https://bsky.app/search?q=%23windowsdev" rel="nofollow noopener noreferrer" target="_blank">#windowsdev</a> <a class="hashtag" href="https://bsky.app/search?q=%23visualstudio" rel="nofollow noopener noreferrer" target="_blank">#visualstudio</a> <a class="hashtag" href="https://bsky.app/search?q=%23mobiledev" rel="nofollow noopener noreferrer" target="_blank">#mobiledev</a> <a class="hashtag" href="https://bsky.app/search?q=%23csharp" rel="nofollow noopener noreferrer" target="_blank">#csharp</a> <a class="hashtag" href="https://bsky.app/search?q=%23dewdrop" rel="nofollow noopener noreferrer" target="_blank">#dewdrop</a><br><br><a href="https://www.alvinashcraft.com/2025/03/26/dew-drop-march-26-2025-4390/" rel="nofollow noopener noreferrer" target="_blank">Dew Drop – March 26, 2025 (#43...</a></p>
b4ux1t3 :trek_ds9_sisko:#1️⃣<p>Going live! Rebuilding my 6502 <a href="https://hachyderm.io/tags/emulator" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>emulator</span></a> in <a href="https://hachyderm.io/tags/Zig" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Zig</span></a>!</p><p><a href="https://www.twitch.tv/b4ux1t3" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">twitch.tv/b4ux1t3</span><span class="invisible"></span></a></p><p>Come for the bad <a href="https://hachyderm.io/tags/CSharp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CSharp</span></a>, stay for the worse Zig!</p><p><a href="https://hachyderm.io/tags/LiveCoding" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>LiveCoding</span></a> <a href="https://hachyderm.io/tags/RetroTech" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RetroTech</span></a> <a href="https://hachyderm.io/tags/RetroComputing" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RetroComputing</span></a></p><p>Slight plug: Support me on Ko-Fi! <a href="https://ko-fi.com/b4ux1t3" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">ko-fi.com/b4ux1t3</span><span class="invisible"></span></a></p>
shukebeta<p><a href="https://mastodon.social/tags/linq" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>linq</span></a> <a href="https://mastodon.social/tags/csharp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>csharp</span></a></p><p>以下方法可以安全地从一个可能为空的集合中获取最大值,并在集合为空时返回一个默认值。代码如下:</p><p>```csharp<br>var maxValue = aList.Select(a =&gt; a.aIntField).DefaultIfEmpty(0).Max();<br>```</p><p>### 解释:<br>- `Select(a =&gt; a.aIntField)`: 选择每个对象的 `aIntField` 字段。<br>- `DefaultIfEmpty(0)`: 如果 `aList` 为空,返回一个包含 `0` 的集合。<br>- `Max()`: 计算最大值。</p><p>这样,如果 `aList` 为空,`maxValue` 将会是 `0`,避免了抛出异常的风险。</p>