What is new in C#7.1 & C#7.2

This article describes new features of C# 7.1, C# 7.2 and lists some of the planned features of C# 8. Here’s a quick overview of what the article covers:

  1. How to select C# language version in visual studio (C#7.1/C#7.2)?
  2. New features in C# 7.1
    • Inferred tuple element names
    • Async main
    • Default literal expressions
  3. New features in C# 7.2
    • Private protected access modifier
    • Non-trailing named arguments
    • Leading underscores in numeric literals
    • Reference semantics with value types
  4. A Preview of C# 8

Get the details at Code Project

Consume RESTful API in C#

If you are involved in much web development, you will eventually need to work with web services or web APIs. This is a great article that summarizes a few of the different ways you can write C# code to work with these services. It covers the following methods to consume a RESTful API in C#:

  • HttpWebRequest/Response class
  • WebClient class
  • HttpClient class
  • RestSharp NuGet package
  • ServiceStack Http Utils

Each of them have their own pros and cons, and article gives a good overview of them. Find out more at RESTful API in C#.