非Web程序

1.AppDomain.CurrentDomain.BaseDirectory

2.Environment.CurrentDirectory

3.HttpRuntime.BinDirectory

The path to the current application's/bin directory.


Web程序

HttpCurrent.Context.Server.Mappath();


知道的请补充!

相关文章:

  • 2021-11-19
  • 2022-12-23
  • 2021-11-19
  • 2021-08-09
  • 2021-06-28
  • 2021-08-20
猜你喜欢
  • 2021-07-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案