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 SRank #45 · 32.5K reputationPosted Oct 9, 2015, 6:56 PM EDT
Priyaranjan K SRank #45 · 32.5K reputationPosted Oct 9, 2015, 9:47 AM EDT
Random(Int32) Initializes a new instance of the Random class, using the specified seed value.
Quang Dinh Luong73 reputationPosted Oct 9, 2015, 5:55 PM EDT
Mukesh KumarRank #119 · 18.2K reputationPosted Oct 9, 2015, 7:42 PM EDT
Sujeet SumanRank #790 · 2.9K reputationPosted Oct 9, 2015, 9:51 PM EDT
Quang Dinh Luong73 reputationPosted Oct 10, 2015, 6:39 AM EDT