Implicit vs Explicit in UnityScript?

So, this is isn’t exactly Unity-specific as it’s seen in all aspects of programming, but what exactly does implicit or explicit mean when defining variables? I’ve been programming for years now and I’ve seen it everywhere, but never quite knew what it meant. Anyone care to explain?

It means more than one thing depending on where you use it. But I’m guessing you are referring to the definition of variables:


   var i : int = 1;  //Explicitly saying it is an int

   var i = 0;   //Implicitly making an int

If you’re talking about the actual keywords implicit and explicit, take a look here:



EDIT: woops, I just saw you were talking about UnityScript. But I guess it’s the same feature as in C#?