Category: C#

Using Web Search Grammars with SpeechRecognizerUI in Windows Phone

The built-in dictation grammar is used for the SpeechRecognizerUI when the grammar is not added to the grammar set of the SpeechRecognizerUI object. Below is a sample code snippet demonstrating how to set and use the Web Search Grammars for recognizing speech. Using Web Search Grammars with SpeechRecognizerUI in Windows Phone

C# Compiler Error – CS8377 the type ‘{2}’ must be a non-nullable va

In this blog post, you’ll learn more about the C# Compiler Error – CS8377 and the related message description C# Compiler Error Code CS8377 C# Compiler Description for the Code :CS8377 The type ‘{2}’ must be a non-nullable value type, along with all fields at any level of nesting, in order to use it as parameter ‘{1}’ in the generic type or method ‘{0}’