Posts
-
More about Classes and Methods - 15C# Fundamentals: Development for Absolute Beginners Nov 21, 2011 at 9:17 AM
3
Clint Rutkas
,
Bob Tabor
and
Golnaz
Avg Rating: 5
(8)This lesson digs into more details about Classes—what exactly happens when you create a new instance of a class? What exactly is a reference to an instance of a class? How does passing the reference to a method affect a class? We also review overloaded methods, talk about static versus instance methods,...
-
Understanding and Creating Classes - 14C# Fundamentals: Development for Absolute Beginners Nov 21, 2011 at 9:17 AM
22
Clint Rutkas
,
Bob Tabor
and
Golnaz
Avg Rating: 5
(8)Now that you have a good sampling of basic C# syntax under your belt, it's time to tackle some more challenging topics. Classes are integral to the .NET Framework, particularly the .NET Framework Class Library. This lesson demonstrates how classes are defined and new instances are created, how to define...
-
Working with DateTime - 13C# Fundamentals: Development for Absolute Beginners Nov 21, 2011 at 9:16 AM
14
Clint Rutkas
,
Bob Tabor
and
Golnaz
Avg Rating: 5
(7)Like strings, dates and times are represented using special types, and so deserve some attention. In this lesson we learn how to work with Date and Time data, how to create new instances of DateTime, how to add time; format the data for display, and more. Furthermore, we discuss the TimeSpan class as...
-
Working with Strings - 12C# Fundamentals: Development for Absolute Beginners Nov 21, 2011 at 9:14 AM
26
Clint Rutkas
,
Bob Tabor
and
Golnaz
Avg Rating: 5
(9)Like strings, dates and times are represented using special types, and so deserve some attention. In this lesson we learn how to work with Date and Time data, how to create new instances of DateTime, how to add time, format the data for display, and more. Furthermore, we discuss the TimeSpan class as...
-
while Iterations and Reading Data from a Text File - 11C# Fundamentals: Development for Absolute Beginners Nov 21, 2011 at 9:14 AM
44
Clint Rutkas
,
Bob Tabor
and
Golnaz
Avg Rating: 5
(9)In this lesson we learn a new type of iteration statement (while) as well as how to utilize the StreamReader class to stream data from a file to the Console window. Additionally, we learn how to add new files to our project, how to set properties of our file using the Properties window, how to add a...
-
Creating and Calling Simple Overloaded Helper Methods - 10C# Fundamentals: Development for Absolute Beginners Nov 21, 2011 at 9:13 AM
36
Clint Rutkas
,
Bob Tabor
and
Golnaz
Avg Rating: 5
(10)In this video we begin wading into the topic of methods by creating a helper method to break out code we may need to use in multiple places within our code. We create and call our methods to retrieve a value, create and use input parameters, learn about string formatting, and create overloaded versions...
-
Creating Arrays of Values - 09C# Fundamentals: Development for Absolute Beginners Nov 21, 2011 at 9:13 AM
43
Clint Rutkas
,
Bob Tabor
and
Golnaz
Avg Rating: 5
(9)In this lesson we talk about arrays, which are multi-part variables—a "bucket" containing other "buckets," if you will. We demonstrate how to declare and utilize arrays, including setting and retrieving their values, initializing their values, attempting to access values outside of...
-
for Iterations - 08C# Fundamentals: Development for Absolute Beginners Nov 21, 2011 at 9:13 AM
12
Clint Rutkas
,
Bob Tabor
and
Golnaz
Avg Rating: 5
(9)Iterations allow our applications to loop through a block of code until a condition is satisfied. We'll cover several different types of iteration statements throughout this series, starting with the for iteration statement. This lesson demonstrates how to utilize "code snippets" to help remind...
-
Operators, Expressions and Statements Duration - 07C# Fundamentals: Development for Absolute Beginners Nov 21, 2011 at 9:12 AM
28
Clint Rutkas
,
Bob Tabor
and
Golnaz
Avg Rating: 5
(12)In this lesson, we discuss how to create a properly formed C# statement. As with any language, there's a "right way" and a "wrong way" to write "complete thoughts" in C#. We discuss how statements are made up of expressions, and how expressions are made up of operators (think:...
-
Branching with the if Decision Statement and the Conditional Operator - 06C# Fundamentals: Development for Absolute Beginners Nov 21, 2011 at 9:12 AM
60
Clint Rutkas
,
Bob Tabor
and
Golnaz
Avg Rating: 5
(13)Branching allows us to add logic to our applications. In this lesson introduces the if Decision statement (in its various forms) as well as the conditional operator. We also discuss how to refactor our code to make it more compact and less likely to produce errors by eliminating duplicate code.