With this method declaration (no overloads):
void Method(double d)
{
// do something with d
}
Is there a (performance) difference at runtime between
void Main()
{
Method(1);
Method(1.0);
}
or does the compiler automatically convert the int literal to a double?