minmin

minmin

  • NA
  • 4
  • 0

Is it possible to define an argument as Range?

Jun 6 2008 4:35 AM

Say I created a method void test (byte var) and the var only take a number in the Range(1, 3) only.

How can I define the "var" to make this possible?? 


Answers (1)