Here are the examples of the csharp api System.Random.NextByte() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
2 Examples
19
Source : Rand.cs
with MIT License
from ChevyRay
with MIT License
from ChevyRay
public static byte Byte()
{
lock (randLock)
return rand.NextByte();
}
19
Source : Helpers.cs
with MIT License
from xamarin
with MIT License
from xamarin
public static CommonColor NextColor(this Random rand)
=> new CommonColor(
rand.NextByte(),
rand.NextByte(),
rand.NextByte(),
rand.NextByte());