go.math.rand 1.23.1.4

dotnet add package go.math.rand --version 1.23.1.4
                    
NuGet\Install-Package go.math.rand -Version 1.23.1.4
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="go.math.rand" Version="1.23.1.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="go.math.rand" Version="1.23.1.4" />
                    
Directory.Packages.props
<PackageReference Include="go.math.rand" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add go.math.rand --version 1.23.1.4
                    
#r "nuget: go.math.rand, 1.23.1.4"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package go.math.rand@1.23.1.4
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=go.math.rand&version=1.23.1.4
                    
Install as a Cake Addin
#tool nuget:?package=go.math.rand&version=1.23.1.4
                    
Install as a Cake Tool

go.math.rand

C# package converted from the Go standard library by go2cs. Go version: 1.23.1

Tests Docs

Package rand implements pseudo-random number generators suitable for tasks such as simulation, but it should not be used for security-sensitive work.

Random numbers are generated by a [Source], usually wrapped in a [Rand]. Both types should be used by a single goroutine at a time: sharing among multiple goroutines requires some kind of synchronization.

Top-level functions, such as [Float64] and [Int], are safe for concurrent use by multiple goroutines.

This package's outputs might be easily predictable regardless of how it's seeded. For random numbers suitable for security-sensitive work, see the crypto/rand package.


Part of the go2cs converted Go standard library. See the repository for usage and details.

Copyright 2009 The Go Authors. All rights reserved. This C# package is converted from Go standard library source; use of that source is governed by a BSD-style license that can be found in the LICENSE file. The go2cs conversion itself is distributed under the MIT license.

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on go.math.rand:

Package Downloads
go.math.big

math.big (net9.0 - Release) -- C# project converted from Go source

go.net.http

net.http (net9.0 - Release) -- C# project converted from Go source

go.vendor.golang.org.x.net.nettest

vendor.golang.org.x.net.nettest (net9.0 - Release) -- C# project converted from Go source

go.crypto.internal.cryptotest

crypto.internal.cryptotest (net9.0 - Release) -- C# project converted from Go source

go.testing.quick

testing.quick (net9.0 - Release) -- C# project converted from Go source

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.23.1.4 40 8/8/2026
1.23.1.3 587 8/4/2026
1.23.1.2 681 7/27/2026
1.23.1.1 721 7/14/2026