3
Answers

Override Methods

Arezoo Sh

Arezoo Sh

13y
1.7k
1
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)