Run random class method

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Nikolay Petrov

    Run random class method

    I have a class with couple of methods.
    I want to run one of them randomly. Is this possible?

  • Herfried K. Wagner [MVP]

    #2
    Re: Run random class method

    "Nikolay Petrov" <johntup2@mail. bg> schrieb:[color=blue]
    >I have a class with couple of methods.
    > I want to run one of them randomly. Is this possible?[/color]

    Take a look at the 'Type' class. This class allows you to get the names of
    methods and to invoke methods on an object.

    --
    M S Herfried K. Wagner
    M V P <URL:http://dotnet.mvps.org/>
    V B <URL:http://classicvb.org/petition/>

    Comment

    • Nikolay Petrov

      #3
      Re: Run random class method

      Thanks Herfried

      Comment

      Working...