by Janice Friedman | Jun 20, 2019 | Lessons
In the last couple of lessons, every program you saw contained a limited amount of sequential steps and then stopped. There were no decisions you could make with the input, and the only constraint was to follow straight through to the end. The information in this...
by Janice Friedman | Jun 20, 2019 | C# Features
In C#, arrays and lists are both objects that can be used to hold variables, but they aren’t interchangeable. Let’s explore list vs array. An array must be declared using brackets and accompanied by the type of variables it will hold (integers or strings)...
by Janice Friedman | Jun 19, 2019 | Tutorials
When developing programs that interoperate with external systems, it’s often necessary to process data in a common format. For example, a program may wish to process data from an Excel spreadsheet. Excel has the capability to export a worksheet in Comma...
by Janice Friedman | Jun 19, 2019 | Tutorials
To convert a string to an integer in C#, use int.TryParse when the text may be invalid, or int.Parse when you expect valid numeric text. For example, converting “83” gives the integer 83, which you can use in calculations. This tutorial covers C# and .NET....
by Janice Friedman | Jun 19, 2019 | Lessons
This lesson teaches C# Interfaces. Our objectives are as follows: Understand the Purpose of Interfaces. Define an Interface. Use an Interface. Implement Interface Inheritance. An interface looks like a class but has no implementation. The only thing it contains is...