random number in vs code console
//The systems in use//
using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
namespace *Name of program*
{
//The file name your editing//
class *File name*
{
// The Main static void(with indicators)
static void Main(string[] args)
{
//This is generating the random number//
Random random = new Random();
//This is putting the random number inside a int//
int *Name of variable* = random.Next(*limit to RNG number*);
int RandomY = random.Next(*limit to RNG number*);