private void MyMethod (int MyInt)
{
Print("MyInt = " + Convert.ToString(MyInt));
}
Then:
MyMethod(200);
This works but when I try to pass a string, it doesn't. I get told 'Hello' doesn't exist.
private void MyMethod (string MyString)
{
Print("MyString = " + MyString);
}
Then:
MyMethod(Hello);

Comment