Summary

In this chapter, you learned how to declare variables with a type or var variable; 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# 7 and .NET Core: Modern Cross-Platform Development - Second Edition 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.