This is the common problem for almost every new learner of C#. You can understand this code easily, try this.
Program - declaration and additions of variables in c#
using System;
class DeclareAndDisplay
{
public static void main()
{
float x; // Declaring x of float type
float y; // Declaring y of float type
int m; // Declaring m of integer type
x = 75.86F;
y = 43.48F;
m = x + y; // This line will create an ERROR. Reason given below.
Console.WriteLine("m = x + y = 75.86 + 43.48 = " +m);
}
}