Jump to content
Xtreme .Net Talk

anjanesh

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by anjanesh

  1. Thanks for explanation marble. Had a feeling it had to so with time seed, just couldnt figure out how.
  2. Hi Console.WriteLine(new Random().Next(50)); Console.WriteLine(new Random().Next(50)); Console.WriteLine(new Random().Next(50)); always returns the same value while it doesnt when using it as an object. Random r = new Random(); Console.WriteLine(nr.Next(50)); Console.WriteLine(nr.Next(50)); Console.WriteLine(nr.Next(50)); Is there some seed to take care of in #1 ? C# .NET 2.0 Thanks
  3. Is .NET 2005 the next release you were talking abt ? Since the post was made in 2004, I was wondering if the OP's issue can be solved in VB .NET 2005 Exp Edition.
  4. Was searching for this and ended up here. Thanks PlausiblyDamp. It worked. 0x7f or &H7f wont be accepted in the string for conversion - run-time error. BTW it seems it has to be Globalization.NumberStyles.HexNumber and not just NumberStyles.HexNumber in your code above.
×
×
  • Create New...