String efficient methods for things like “case insensitive contains”.

public static bool StartsWithAndContains(this string toSearch, string startsWith, string contains)
 {
 return toSearch.StartsWithIgnoreCase(startsWith) && toSearch.ContainsIgnoreCase(contains);
 }public static bool EqualsIgnoreCase(this string toSearch, string equals)
 {
 return string.Equals(toSearch, equals, StringComparison.OrdinalIgnoreCase);
 }

public static bool StartsWithIgnoreCase(this string toSearch, string startsWith)
 {
 return toSearch.StartsWith(startsWith, StringComparison.OrdinalIgnoreCase);
 }

public static bool ContainsIgnoreCase(this string toSearch, string contains)
 {
 return (contains == string.Empty || toSearch.IndexOf(contains, StringComparison.OrdinalIgnoreCase) != -1);
 }
Share on Facebook

Some of the new Attendant type SDK’s from Microsoft – Cortana and BOT.

For Cortana!
Cortana Devices SDK:
Cortana Skills Kit:
https://blogs.windows.com/buildingapps/2016/12/13/cortana-skills-kit-cortana-devices-sdk-announcement/#PJwh3kkso647IhgB.97

For Chat Bots.
Microsoft Bot Framework:
Bot Framework SDK
New Azure BOT service!
Azure Bot Services

Share on Facebook