Search:

Type: Posts; User: helloworld922

Search: Search took 0.19 seconds.

  1. Replies
    7
    Views
    2,657

    Re: Variable Type-Checking

    Hmm, if you have the same functionality regardless of the type, you can either use generic parameterization or polymorphism. Without knowing more about what it is you want to do I can't determine...
  2. Replies
    7
    Views
    2,657

    Re: Variable Type-Checking

    Not at compile time. You can use reflection to type-check at run time. However, I would strongly recommend refactoring your code if you're resorting to doing that.

    edit: haha, got confused on the...
Results 1 to 2 of 2