C#C
C#3y ago
Juliandyce

❔ can someone explain the me the new operator

Especially the syntax behind this example:

Random rnd = new Random();

Can u compare the random before the = with int, string and the random after then says that a random number should be generated and new simply says that it should be regenerated every time the program is executed?
Was this page helpful?