Tags
Language
Tags
April 2024
Su Mo Tu We Th Fr Sa
31 1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 1 2 3 4

A Beginner's Guide to C-Sharp-Ch09: Variable Scope, Local vs Global Variables; How to pass between Forms (ABGC)

Posted By: AlenMiler
A Beginner's Guide to C-Sharp-Ch09: Variable Scope, Local vs Global Variables; How to pass between Forms (ABGC)

A Beginner's Guide to C-Sharp-Ch09: Variable Scope, Local vs Global Variables; How to pass between Forms (ABGC) by Tim R. Wolf
English | 16 Jun. 2017 | ASIN: B072232LC2 | 58 Pages | PDF | 1.78 MB

Chapter 9 (45 pages) is a short, but important chapter that discusses how variables have a "scope" – a time-to-live. Understanding this helps write tight and efficient code, and helps keep the program's size from exploding in Task Manager.

Important concepts on how to pass variables to other forms within the same program are described and demonstrated.
Topics: Local and Private variables. Scope within loops, form-level (class-level) variables, Form Load events, "Global" variables, passing variables to other forms. Using Get-Set variables. Calling Variables "By Ref"

About this series: A beginner's guide to C-Sharp programming with Microsoft's Visual Studio, 2017. A complete programming guide. Simple, step-by-step, fully illustrated. Tailored for new and novice developers. Discusses basic techniques that all programmers need to learn.

This series is sold by Chapters at a low cost. A total of 28 chapters, in three volumes. Over 1800 pages, 900 quality illustrations.

This book acts as a reference guide. Topics are covered in great detail, with little time spent on theory. The goal of these books are to solve programming problems quickly and efficiently.

Why am I distributing by chapter? To keep the cost down and to keep each section manageable. I hope you enjoy reading and studying these pages as much as I have enjoyed writing them. –TRW