TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Mahesh Chand
1
269.2k
239.7m
How To Generate a random number in C#
Sep 9 2018 1:14 PM
The following code in Listing 1 returns a random number.
// Generate a random number
Random random =
new
Random();
// Any random integer
int
num = random.Next();
Reply
Answers (
1
)
C# code to execute ubuntu shell command
How To Generate a random number less than a number in C#