C# String IsInterned()The C# IsInterned() method is used to get reference of the specified string. The difference between Intern() and IsInterned() is that Intern() method interns the string if it is not interned but IsInterned() doesn't do so. In such case, IsInterned() method returns null. Signature Parameterstr: it is a string type parameter. Return It returns a reference. C# String IsInterned() Method ExampleOutput: Hello C# Hello C# Hello C# C# String Intern() vs IsInterned() ExampleOutput: True False Next TopicC# String IsNormalized() |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India