我有一个.NET Core类库项目,需要从项目内的文件夹中读取文件内容(模板文件)。我正在使用Visual Studio Code。
文件存储如下:
--Application (root)
---Functions (library for functions)
---(c# classes)
---Services (library for services)
---(c# classes)
---Templates (templates)
-----template1.txt
-----template2.txt
-----template3.txt
我该怎么做?另外,这样做是否对其他操作系统如Unix和OS也安全?