Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想从存储在 My.Resources 中的文件创建一个列表(字符串)。
我使用的代码是这样的:
Dim L As New List(Of String) From {(My.Resources.html_blu)}
但这不起作用。
任何人都可以帮助我吗?
我假设您想将这些行放在列表中,试试这个:
Dim L As New List(Of String)(My.Resources.html_blu.Split(Environment.NewLine()))