VB FreeFile() Function in C#?

M

Martin Bonner

Is there an equivalent in C#.NET for the VB.NET FreeFile() function?

Well there's always:

Microsoft.VisualBasic.FreeFile()

.... but it isn't much use because in C# you don't supply a filenumber
to the functions which open a file, so you don't need FreeFile().

Look up "How to: Read Text from a File" in MSDN.
 
Z

zacks

Well there's always:

    Microsoft.VisualBasic.FreeFile()

... but it isn't much use because in C# you don't supply a filenumber
to the functions which open a file, so you don't need FreeFile().

Look up "How to: Read Text from a File" in MSDN.

I realized I didn't need it after I posted the request. Thanks anyway.
 

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

Top