I wanted to use overloading in Iron Python but seems it's not working :
import sys
import clr
def  af(a, b):
     c = a+b
     print c
     return c
def af(j):
  y = j*j
  print y
  return y
 af(6,7)
 af(5)
I get a error =\
Is there any way to use overloading ?
my purpose is to write a function : foo(doAction,numTimes)
when by default if I use foo(action): it will do it once,
 or I'll write : foo(action,6) 
thanks a lot!!!
 
    