问题
I try to do the
using System;
"some/String".Split(new char[] { ' ' }, StringSplitOptions.RemoveEmptyEntries)
but the compiler can't find the StringSplitOptions
enum. How to fix it ?
回答1:
Windows Mobile uses .NET Compact Framework, which does not support StringSplitOptions.
The only String.Split overload implemented in the Compact Framework is Split(Char[]).
来源:https://stackoverflow.com/questions/31835127/windows-mobile-6-sdk-string-split-and-stringsplitoptions-cant-find