Click here to Skip to main content
16,006,762 members
Home / Discussions / C#
   

C#

 
GeneralRe: Parsing IL Pin
iliyang16-Jun-05 4:11
iliyang16-Jun-05 4:11 
QuestionImporting Macros from C header files? Pin
iliyang16-Jun-05 4:03
iliyang16-Jun-05 4:03 
AnswerRe: Importing Macros from C header files? Pin
Colin Angus Mackay16-Jun-05 4:32
Colin Angus Mackay16-Jun-05 4:32 
AnswerRe: Importing Macros from C header files? Pin
Dave Kreskowiak16-Jun-05 4:55
mveDave Kreskowiak16-Jun-05 4:55 
GeneralRe: Importing Macros from C header files? Pin
iliyang16-Jun-05 5:06
iliyang16-Jun-05 5:06 
GeneralRe: Importing Macros from C header files? Pin
Dave Kreskowiak16-Jun-05 5:10
mveDave Kreskowiak16-Jun-05 5:10 
GeneralNow Im really irritated!! Pin
Anthony Mushrow16-Jun-05 3:07
professionalAnthony Mushrow16-Jun-05 3:07 
GeneralRe: Now Im really irritated!! Pin
iliyang16-Jun-05 4:08
iliyang16-Jun-05 4:08 
OK, as I understand, you have a byte array (the bunary representation of some file) in
memory and you want to flush it to the disk. If that's the situation, I think I can help.
I recently wrote a similar class. Here's the SaveAs method:

_bytes is a byte[] array - a private class field.

<code>public void SaveAs(string filePath)
{
	using(FileStream stream = System.IO.File.OpenWrite(filePath))
	{
		stream.Write(_bytes, 0, _bytes.Length);
	}
}</code> 

GeneralRe: Now Im really irritated!! Pin
Michael Potter16-Jun-05 4:15
Michael Potter16-Jun-05 4:15 
Generalretrieving http sites (frames) Pin
alexffm16-Jun-05 3:00
alexffm16-Jun-05 3:00 
GeneralRe: retrieving http sites (frames) Pin
S. Senthil Kumar16-Jun-05 3:18
S. Senthil Kumar16-Jun-05 3:18 
GeneralRe: retrieving http sites (frames) Pin
alexffm16-Jun-05 3:31
alexffm16-Jun-05 3:31 
GeneralRe: retrieving http sites (frames) Pin
S. Senthil Kumar16-Jun-05 3:45
S. Senthil Kumar16-Jun-05 3:45 
GeneralRe: retrieving http sites (frames) Pin
alexffm16-Jun-05 3:54
alexffm16-Jun-05 3:54 
GeneralCompiling C# Code at runtime Pin
Sumit Domyan16-Jun-05 2:33
Sumit Domyan16-Jun-05 2:33 
GeneralRe: Compiling C# Code at runtime Pin
tom_dx16-Jun-05 2:55
tom_dx16-Jun-05 2:55 
GeneralRe: Compiling C# Code at runtime Pin
S. Senthil Kumar16-Jun-05 3:27
S. Senthil Kumar16-Jun-05 3:27 
GeneralRe: Compiling C# Code at run time Pin
eggie516-Jun-05 5:38
eggie516-Jun-05 5:38 
GeneralRe: Compiling C# Code at run time Pin
S. Senthil Kumar16-Jun-05 5:42
S. Senthil Kumar16-Jun-05 5:42 
QuestionCan someone suggest me style improvements? Pin
Alex Cutovoi16-Jun-05 1:58
Alex Cutovoi16-Jun-05 1:58 
GeneralSQLDMO Create Database in C# Pin
gordsh16-Jun-05 1:39
gordsh16-Jun-05 1:39 
QuestionHow to write Installer for a executable file Pin
pakFari16-Jun-05 1:32
pakFari16-Jun-05 1:32 
AnswerRe: How to write Installer for a executable file Pin
nemopeti16-Jun-05 3:55
nemopeti16-Jun-05 3:55 
AnswerRe: How to write Installer for a executable file Pin
S. Senthil Kumar16-Jun-05 5:05
S. Senthil Kumar16-Jun-05 5:05 
GeneralRe: How to write Installer for a executable file Pin
pakFari16-Jun-05 20:49
pakFari16-Jun-05 20:49 

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.