views:

21

answers:

1

I cannot get the BitConverter class to work. I get the error 'BitConverter' undeclared (first use this function). I have tried putting 'using System;' at the top of my code because I saw that in some examples online, but it then tells me that 'System' has not been declared. What am i missing? A #include file?

A: 

BitConverter is a CLI class, If you don't mean the CLI class then you've lost me completely and can ignore the rest of this answer. #include is c++. Is this managed c++? Please clarify and re-tag the question as approriate.

If it's Managed C++ you use

using namespace System

to include namespaces instead of C#´s

using System
dutt