Skip to content

Demos the mechanisms to generate random nunmbers, keys, strings in .Net.

License

Notifications You must be signed in to change notification settings

dotnet-demos/randomness

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.Net console sample for demonstrating capabilities of Random generation

This demos the capabilities in .Net to generate random numbers, byte array (displayed as base64) etc...

How to run

  • Clone and run using Visual Studio

Features showcased

  • Random class
  • RandomNumberGenerator class

Tech stack

  • .Net version - .Net 6
  • Nugets referenced
    • DotNet.Helpers
    • easyconsolestd
    • Microsoft.Extensions.Hosting

Dependency injection

  • Supported. Refer the Program.cs file for more details
  • The options are injected as dependency to the [MenuService](/src/MenuService.cs then those are invoked based on selection.

About

Demos the mechanisms to generate random nunmbers, keys, strings in .Net.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages