c# - Is there a better way to hold a file path than in a string? -


I'm making a command line utility I need to pass around some file paths in the program.

I'm just using the string but I was wondering if the net path was a quiet class to cross the path path.

The best way to store strings path.

If you want to modify or work with path, however, you should use .

If you want something a bit more robust and can actually communicate with files / directories, you can also see and Keep, though, these two are extremely heavy if you need to collect the path.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -