
Random int in C#, Random number, random number generator, Random class, Random.Next(), Random number from a range, Random int number, Random Int within a range, Random string, C# Random string, Random int in .NET, .NET Core Random number

The code snippet in this article is an example of how to generate random numbers and random strings and combine them to create a random password using C# and .NET Core.

Learn to convert a C# byte array to a string in C# and .NET Core. Code example included.

ASP.NET Core 2.2 is here with several new fixes and improvements. This video lists these features and how to use them.

This article demonstrates how to pick a random string an array of strings.
Learn how to encrypt and decrypt strings in C# and .NET Core using TripleDESCryptoServiceProvider, CryptoStream, keys, and initialization vectors.
AesManaged class is a managed implementation of the AES algorithm. This article demonstrates how to use the AesManaged class to apply the AES algorithm to encrypt and decrypt data in .NET and C#.

How to compare two tuples in C#. Tuple comparison is available in C# 7.3 or later versions and can be done by using equality == and != operators.
Cybercrimes are on the rise. There are over 1 million cyber attacks are initiated each day. To protect yourself, your family, and your business, there are certain precautions you can take that will most likely to keep hackers away from your personal data.
How to generate public/private key in C#. Asymmetric cryptography also known as public-key encryption uses a public/private key pair to encrypt and decrypt data. In .NET, the RSACryptoServiceProvider and DSACryptoServiceProvider classes are used for asymmetric encryption.
Generating Symmetric Private Key In C# and .NET. Major symmetric algorithms are AES, DES, RC2, Rijndael, and TripleDES. The GenerateKey and GenerateIV methods return the private secret key and initialization vector.

Maps and map services have become a vital part of mobile apps to implement geolocation functionality.
A thread pool is a pool of worker threads that is available on demand as needed. The code examples in this article show how to use the thread pool in .NET Core using C#.
How to pass data to a thread in C#. In this article, I will demonstrate how to use the ThreadStart to pass data from your main program to a new thread using the ParameterizedThreadStart.

Here is code example of how to iterate through all enum values in C#.

Console.BackgroundColor and Console.ForegroundColor in C# and .NET Core sets the background color and foreground color a the console. This code example shows how to change the foreground and background colors using C#.
Bitcoin and cryptocurrencies have proved the potential of what blockchain can bring to the world. Here, learn what the future of blockchain is.



EF Core 2.1 is the latest version of Entity Framework Core announced at Build 2018. Here is a list of new features in this verision.

Microsoft's machine learning platform is open source now. Learn what ML.NET is all about and how to use it in .NET Core 2.0.


Learn what the future of .NET and .NET Core is in coming next year or so.
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only16days leftRegisterMembers onlyWrite an article and earn +1,000 SHARP when it is approved.
Write an article