C# Programming
Published in

C# Programming

Some util C# snippets of code

Fancy a few handy code snippets for your .NET/Unity project? ;)

In lots of my projects, I reuse some basic utilities over and over again: picking an item from a collection at random, initializing an array with all the ints up to a given number, shuffling a list…

So I’ve prepared a little list of handy snippets that I can quickly copy and paste…




Focuses on ASP.Net | ASP.Net Core | .Net & C# advance design, best practices & experiences to make developers life simple..!!

Recommended from Medium

Flutter vs. Ionic Matchup: Which One is Better?

Space Kitty Released!

How we could make a Roblox smart home that connects to the real world

3 Essential Python Skills for Data Scientists

Create an EC2 Instance in AWS

Putting It All Together: Good-Enough Answers

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Mina Pêcheux

Mina Pêcheux

I’m a freelance full-stack web & game developer. I’m passionate about topics like CGI, music, data science and more! Find me at: https://minapecheux.com :)

More from Medium

Let’s Learn Blazor

C# How to make WPF TextBox accept only numeric inputs?

The Most Important New Features of C# 10 and How to Use Them

Curse of Recursion In .NET C#

Why and How you should always try to replace Recursion with something else in DotNet (.NET) CSharp (C#) Code Coding Programming Software Development Engineering Architecture Best Practice Dynamic Programming Stack Memory Performance Bottom Up Loop