beginers question

Joined
Apr 17, 2010
Messages
1
Reaction score
0
can someone please explain why am i receiving the exception that follows the code example.
thanks in advance.

using
System;
using System.Collections.Generic;

using System.Linq;

using System.Text;

namespace ConsoleApplication1

{

public class C_one_two

{

static int Main(string[] args)

{

uint a=12;

uint b=0x23de;

uint c=0x82ab;

uint d=0x72f4;

Console.WriteLine("a={0:d} b=(1:d} c={2:d} d={3:d} ",a,b,c,d);

return 0;

}

}

}

i am receiving the following exception:
"Input string was not in a correct format.".

============== PC technical information ==================

  • Operating System: Windows XP
  • Anti Virus Software : AVG Free
  • connect to the net : ADSL
  • Computer Specifications: see below.
Property Value

Machine Type AT/AT COMPATIBLE

DMI System UUID 00000000-00000000-00000000-00000000



Disk Space Disk C: 924 MB Available, 13021 MB Total, 924 MB Free

Disk D: 18 GB Available, 24 GB Total, 18 GB Free



Physical Memory 512 MB Total, 64 MB Free

Memory Load 87%



Virtual Memory 2082 MB Total, 1318 MB Free



PageFile Name \??\C:\pagefile.sys

PageFile Size 64 MB

In use 64 MB

Max used 64 MB



PageFile Name \??\D:\pagefile.sys

PageFile Size 1536 MB

In use 232 MB

Max used 353 MB

Registry Size 5 MB (current), 86 MB (maximum)



Profile GUID {cdcf5cf0-737f-11d9-af92-806d6172696f}



The system clock interval 10 ms


 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top