I am using the following code to split a string:
string sss=\"125asdasdlkmlkdfknkldj125kdjfngdkjfndkg125ksndkfjdks125\";
List s = new List<
this error/issue is not present in .NET Core 3.1 but does appear in .NET 4.7.2. This error came up while trying to use C# fiddle (https://dotnetfiddle.net/) to test something and was not getting the same message in my project. The issue was that my project is using .NET Core compiler and the fiddle was not. Once that was updated in the fiddle, the error cleared.