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.
我想获取一个删除第一个字节的数组切片,即类似于 myArray[1..myArray->Length]。如何在 Visual C++/CLI 中执行此操作?
谢谢,调频
如果这是一个托管数组 ( cli::array),那么您可以使用ArraySegment<T>,它是用于数组“切片”和分区的托管框架结构。
cli::array
ArraySegment<T>