Generate.Number.Net 1.0.0

Generate number random

Install-Package Generate.Number.Net -Version 1.0.0
dotnet add package Generate.Number.Net --version 1.0.0
<PackageReference Include="Generate.Number.Net" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Generate.Number.Net --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
  • Easy to use generate number is useful to generate random numbers within a range.

  • Example of use
    We have the possibility to configure the maximum and the minimum so that the random number is within the established range. This is thought in
    applications where the maximum and the minimum do not have a lot of variation in the life time of the application.
    for that we have the following static variables

          GenerateNumber.Lower = 10;
          GenerateNumber.Top = 25;
    
  • the next method that takes as reference the aforementioned variables

          GenerateNumber.Generate ()
    
  • the previous method returns the integer random number.

  • the previous method how much with an overload which we passed the maximum and the minimum of our range

          GenerateNumber.Generate (int lower,int top)
    
  • this overload returns the integer random number.

  • Easy to use generate number is useful to generate random numbers within a range.

  • Example of use
    We have the possibility to configure the maximum and the minimum so that the random number is within the established range. This is thought in
    applications where the maximum and the minimum do not have a lot of variation in the life time of the application.
    for that we have the following static variables

          GenerateNumber.Lower = 10;
          GenerateNumber.Top = 25;
    
  • the next method that takes as reference the aforementioned variables

          GenerateNumber.Generate ()
    
  • the previous method returns the integer random number.

  • the previous method how much with an overload which we passed the maximum and the minimum of our range

          GenerateNumber.Generate (int lower,int top)
    
  • this overload returns the integer random number.

Release Notes

Generate number random

  • .NETStandard 2.0

    • No dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.0 195 9/28/2018