Hi. I need to write a simple programme in Visual Studio 2005 in a console application for :
String - Voltage, EmployeeID
Number - 1.016, 00180000 respectively...
Here's only what i have done:
using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
double p = 1.016;
int q = 00180000;
Console.WriteLine("Voltage: {0}", p);
Console.WriteLine("EmployeeID: {1}", q);
}
}
}
I seem to get an error but don't know where the error is. Could someone please help me to correct the code. I also need to convert the data to be displayed in Excel 2007. How do I do that. I'm really new to C#.net. Please help, thanks.