Where is String.Intern method in .NET Core?

I created a new .NET Core console app and can't find methods for string interning.

Here's an old doc: https://msdn.microsoft.com/en-us/library/system.string.intern(v=vs.110).aspx

+3


source to share


1 answer


Adapted from page github problems IronLanguages (same problem):

String.Intern will be added in .NET Standard 2.0, which will also be implemented by .NET Core:

https://github.com/dotnet/standard/blob/master/netstandard/ref/mscorlib.cs#L3048



github corefx seems to support this: one of the missing features is System.String.Intern(System.String)

and the issue is tagged as netstandard2.0

.

+7


source







All Articles