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
Quang Dinh Luong
NA
76
18.6k
ERROR in creating a random number
Oct 9 2015 1:35 PM
I'm facing this problem :
Argument 1: cannot convert from "long" to "int"
Random
startGenerate =
new
Random
();
//Create a number between 1000000000000000000 and 9223372036854775807
Int64
value = startGenerate.Next(1000000000000000000, 9223372036854775807);
I don't understand this error, anyone can help?
Thanks,
Reply
Answers (
6
)
Error when trying to pass value between different form
Inserting and selecing record using userid not working