I'm young and experimenting with coding trying to find what language is "my language" (which I guess means is that it's natural and I'm good at) So I started off with python and some MIT OCW to get introduced to the world of programming. Then I wanted to be able to develop desktop apps. So I tried out java. It didn't click. Then I tried C/C++. That was ok. Then I just said. What platform are you programming on? Well....Windows! So I looked up C# and it's going well and I think that it comes easily to me. Nevertheless I have no idea why I put all of that but by question was....What's wrong with this code? I've done some basic tutorials and I don't see what's wrong with this code. So I hopped on here to try and get help (and yes I tried google first)
using System;
public class Main
{
public static void Main()
{
// code
string productName = "TV";
int productYear = 2012;
float productPrice = 279.99;
// test code
Console.WriteLine("productName: " + productName);
Console.WriteLine("productYear: " + productYear);
Console.WriteLine("productPrice: " + productPrice);
}
}