expected class delegate enum interface or struct is cuming up as an error ?

Discussion in 'C#' started by gemma028, Dec 13, 2010.

  1. gemma028

    gemma028 New Member

    Joined:
    Dec 13, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    student/ sales ***
    Location:
    derry
    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
     
  2. dotNet Zombie

    dotNet Zombie New Member

    Joined:
    Aug 28, 2010
    Messages:
    34
    Likes Received:
    10
    Trophy Points:
    0
    Occupation:
    .Net Developers
    Location:
    Minnesota
    Home Page:
    http://www.dotnetzombie.net
    is the error being thrown right when it calls the Random class constructor?
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice