Intermediate VB.NET Programming Lesson 8. Infinity @ComputerScienceLessons
Intermediate VB.NET Programming Lesson 8. Infinity  @ComputerScienceLessons
Uploaded September 2021 | Updated November 2026, 3 hours ago
This is the eighth in a series of computer science video tutorials for intermediate Visual Basic programmers who have completed the beginner’s series of video tutorials or are already familiar with the VB.NET syntax for the fundamental programming constructs. In this lesson you will learn about infinity and some of the facilities built into VB.NET for working with infinity. After a brief introduction to the nature of infinity, you learn how division by zero does not necessarily generate an overflow exception, or a divide by zero exception, rather, it can generate a result of infinity. You will learn about the difference between positive infinity and negative infinity, and how to test for infinity in your code using Double.IsInfinity, Double.IsPositiveInfinity and Double.IsNegativeInfinity. You will also meet a special constant known as NaN, Not a Number. Finally, you will learn how to perform integer division in VB.NET (rather than the normal floating point division), why you might use integer division, and how this can generate a divide by zero exception.

Chapters:
00:00 What is infinity?
01:59 The System.OverflowException
03:23 Infinity from division by zero
04:10 Infinity plus one
04:41 Not a number NaN
05:03 Positive infinity versus negative infinity
06:38 Testing for infinity
07:57 Integer division
08:30 The System.DivideByZeroException
Intermediate VB.NET Programming Lesson 8. InfinityVB.NET Programming. Intermediate Lesson 5. Write your own FunctionsAdvanced VB.NET Programming – Threads, Events and Delegates (Part 2)Little Man Computer:  3. LoopsThe SQL INSERT StatementFundamental Concepts of Object Oriented ProgrammingBitwise Operators 4: The Logical Shift OperationThe AI that made me thinkC# Programming: Lesson 4.  if Statement (part 1)C# Programming: Lesson 1. Simple OutputC# Programming: Lesson 11.  More about ArraysGoogle Street View Location Guessing Game
Computer Science Lessons |

Intermediate VB.NET Programming Lesson 8. Infinity

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER