By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,948 Members | 1,046 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,948 IT Pros & Developers. It's quick & easy.

porting c++ code into c# code

P: 1
can any one tell the equivalent data type of wstring in c++ into c#.
Aug 6 '12 #1
Share this Question
Share on Google+
1 Reply

P: 85
Are you asking it for importing a C++ dll into C#? if so then
A wstring is nothing more than a Unicode encoded string, which is exactly what the String class is in C#. The only problem you might encounter is having to convert the imported wstring to UTF-8 format
Aug 7 '12 #2

Post your reply

Sign in to post your reply or Sign up for a free account.