That depends on what your using it for If your using it for basic
file manipulation, then you will want to take a look at the classes in
the System.IO namespace hiearchy.
The 'FileStream' class' constructor internally calls 'CreateFile'. However,
there are some rare cases in which you'd still have to use 'CreateFile', for
example, if you attempt to access a drive directly.