Hi!
Can someone explain me the difference between:
And:
Both instructions give the same output.
Thank you very much!
Greetings!
Can someone explain me the difference between:
C#:
class Program
{
static void Main(string[] args)
{
int number = 10;
double dNumber = System.Convert.ToDouble(number);
}
}
And:
C#:
class Program
{
static void Main(string[] args)
{
int number = 10;
double dNumber = (double) number;
}
}
Both instructions give the same output.
Thank you very much!
Greetings!