Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C# (http://www.go4expert.com/forums/c-sharp/)
-   -   expected class delegate enum interface or struct is cuming up as an error ? (http://www.go4expert.com/forums/expected-class-delegate-enum-interface-t24168/)

gemma028 14Dec2010 03:27

expected class delegate enum interface or struct is cuming up as an error ?
 
static int GetRandNum(int iStart, int iEnd)
{
Random r = new Random();

this is park of my code that am workin on creating an 2 arrays it wont declare int and random and void?? after i have insearted my constructor could it be inserted into the wrong place?

thanks gemma

dotNet Zombie 15Dec2010 00:47

Re: expected class delegate enum interface or struct is cuming up as an error ?
 
is the error being thrown right when it calls the Random class constructor?


All times are GMT +5.5. The time now is 07:42.