Click here to Skip to main content
16,016,227 members
Home / Discussions / C#
   

C#

 
AnswerRe: Why does .csproj change Component to UserControl Pin
Rei Miyasaka19-May-06 14:25
Rei Miyasaka19-May-06 14:25 
QuestionEmbedding and XML inside of a binary file... Pin
kevin-rf19-May-06 11:07
kevin-rf19-May-06 11:07 
AnswerRe: Embedding and XML inside of a binary file... Pin
leppie19-May-06 13:04
leppie19-May-06 13:04 
GeneralRe: Embedding and XML inside of a binary file... Pin
kevin-rf19-May-06 13:53
kevin-rf19-May-06 13:53 
GeneralRe: Embedding and XML inside of a binary file... Pin
leppie19-May-06 14:11
leppie19-May-06 14:11 
GeneralRe: Embedding and XML inside of a binary file... Pin
Rei Miyasaka19-May-06 14:31
Rei Miyasaka19-May-06 14:31 
GeneralRe: Embedding and XML inside of a binary file... Pin
kevin-rf19-May-06 15:05
kevin-rf19-May-06 15:05 
GeneralRe: Embedding and XML inside of a binary file... [modifed] Pin
Rei Miyasaka19-May-06 15:30
Rei Miyasaka19-May-06 15:30 
You could use XmlDocument. Save the document in the file with a particular encoding (UTF8 is good), note down its size, and then when you load it again, read those bytes and use System.Text.Encoding.Decode to get the xml string back, which you'd read using XmlDocument.Load().

By the way, C# can be as good or better performing than C++ (maybe not more if you consider the fact that C++ can do assembly), believe it or not, even for nitty gritty stuff like this.

Try using C# with pointers; that way you won't have to put the code in a separate assembly. Just make an array of sequential structs and drain all the data in.
QuestionSaving a reference to an assembly Pin
gantww19-May-06 10:59
gantww19-May-06 10:59 
AnswerRe: Saving a reference to an assembly Pin
Rei Miyasaka19-May-06 14:39
Rei Miyasaka19-May-06 14:39 
Questionnoob array question [modifed] Pin
likefood19-May-06 10:45
likefood19-May-06 10:45 
AnswerRe: noob array question Pin
Josh Smith19-May-06 10:49
Josh Smith19-May-06 10:49 
GeneralRe: noob array question Pin
likefood19-May-06 10:50
likefood19-May-06 10:50 
QuestionChecking to see if object is char or int Pin
jrcook19-May-06 9:40
jrcook19-May-06 9:40 
AnswerRe: Checking to see if object is char or int Pin
likefood19-May-06 10:34
likefood19-May-06 10:34 
GeneralRe: Checking to see if object is char or int [modifed] Pin
vineas19-May-06 11:01
vineas19-May-06 11:01 
QuestionWebBrowser throws exception in Web Service Pin
dpietro19-May-06 8:13
dpietro19-May-06 8:13 
AnswerRe: WebBrowser throws exception in Web Service Pin
Dustin Metzgar19-May-06 10:24
Dustin Metzgar19-May-06 10:24 
GeneralRe: WebBrowser throws exception in Web Service Pin
dpietro22-May-06 1:50
dpietro22-May-06 1:50 
AnswerRe: WebBrowser throws exception in Web Service Pin
Dustin Metzgar22-May-06 1:58
Dustin Metzgar22-May-06 1:58 
Questionbreak report - recommendations?? Pin
MarFarMa19-May-06 7:36
MarFarMa19-May-06 7:36 
AnswerRe: break report - recommendations?? Pin
MarFarMa19-May-06 9:31
MarFarMa19-May-06 9:31 
Questionform/control sizing Pin
reshsilk19-May-06 7:02
reshsilk19-May-06 7:02 
AnswerRe: form/control sizing Pin
leppie19-May-06 7:12
leppie19-May-06 7:12 
QuestionCreating an array from data in a file Pin
jrcook19-May-06 6:53
jrcook19-May-06 6:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.