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,

Priyaranjan K SPosted Oct 9, 2015, 10:56 PM
Quang Dinh LuongPosted Oct 10, 2015, 10:39 AM
Sujeet SumanPosted Oct 10, 2015, 1:51 AM
Mukesh KumarPosted Oct 9, 2015, 11:42 PM
Quang Dinh LuongPosted Oct 9, 2015, 9:55 PM
Priyaranjan K SPosted Oct 9, 2015, 1:47 PM
Random(Int32) Initializes a new instance of the Random class, using the specified seed value.