I have a code shown below
private string m_simview= String.Empty;
public string SimView
{
get
{
return m_simview;
}
set
{
m_simview= value;
}
}
string viewpath = path + "views" + "\\BIMConsole\\";
I need to create a file whose name is value of property string SimView and whose type is .tvm in a specified path ie in string viewpath.Can anybody suggests me code to achieve this task
There is a
Fileclass exposing many file system management methods for file system objects (specifically files in this case). So, something like this:This method will return something, a
FileStream, and once done with that you should dispose of it.