I want to inherit to extend the C# string class to add methods like WordCount() and several many others but I keep getting this error:
WordCount()
Er
You cannot derive from string, but you can add extensions like:
public static class StringExtensions { public static int WordCount(this string str) { } }