Arezoo Sh

Arezoo Sh

  • NA
  • 7
  • 11.1k

Override Methods

Jul 12 2011 6:57 AM
Hi,

I want to override these methods below of Random Class. I know haow can I override a method but there is a problem here! We dont have the codes of virtual methods below in MSDN to change them and make override methods.

methods: DoubleByte, NextByte, Next, ToString

forexample: I want to override NextByte method of Random class. The NextByte method returns an array contain random numbers. now the method that I want to override NextByte method, should be like the NextBytes method with some changes, forexample what? could u help me to write override methods above?

Answers (3)