Summary

In this chapter, you learned how to declare variables with an explicit type or inferred with the var keyword, we discussed some of the built-in types for numbers, text, and Booleans, we covered how to choose between number types, and we experimented with some operators.

In the next chapter, you will learn about branching, looping, converting between types, and handling exceptions.

Get C# 6 and .NET Core 1.0: Modern Cross-Platform Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.