You've made quiet a few errors there:
for (c = -40; c <= 40; c =+ 5);
The semicolon at the end will terminate the loop - so it will never do anything
inside the body. Remove the semicolon.
And the increment operator is wrong as well:
c=+ 5
means "set c to 5", not "add 5 to c". You probably want
c += 5
for (c = -40; c <= 40; c =+ 5);
f = 9 / 5 * c + 32;
Console.WriteLine("c: {0}; f: {1}", c, f);
If you want more than one statement inside your loop, you need a compound statement - which is a fancy way of saying "put curly brackets round them".
9 and 5 are integers, so 9 / 5 is also an integer: 1. You need floating point values: 9.0 and 5.0 instead.
There's one other problem as well: if you fix this and run this code in the debugger, you probably won't see anything as the command prompt will open, print and shut really quickly. Add
Console.ReadLine();
at the end, and it will pause until you press ENTER.
Try this:
static void Main()
{
float c, f;
for (c = -40; c <= 40; c += 5)
{
f = 9.0 / 5.0 * c + 32;
Console.WriteLine("c: {0}; f: {1}", c, f);
}
Console.ReadLine();
}