Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

RE: [CE5 c#] using DgnDocument

$
0
0

[quote user="Nenad Poljcic"]bool test = System.IO.File.Exists("C://Temp//Test3d.dgn");[/quote]

When using a forward slash (/) as a path separator you don't need to double-up...

System.IO.File.Exists("C:/Temp/Test3d.dgn");

You need to double-up when using a Windows backslash (\) as a path separator because the backslash is an escape character in a C++ literal string...

System.IO.File.Exists("C:\\Temp\\Test3d.dgn");


Viewing all articles
Browse latest Browse all 7260

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>