LINQ Expression error handling 10 February 2018 history edit C#, LINQ No straightforward way of adding exception handling to a LINQ expression using query syntax. Gist: LINQ List to Dictionary.cs Gist: LINQ Query Syntax Gist: LINQ Method Syntax with exception handling Via StackOverflow: Exception handling within a LINQ Expression StackOverflow: Selecting List<string> into Dictionary with index Query Syntax and Method Syntax in LINQ (C#) C# UDP UWP use StreamSocket instead of TcpClient