© Robert E. Beasley 2020
R. E. BeasleyEssential ASP.NET Web Forms Developmenthttps://doi.org/10.1007/978-1-4842-5784-5_6

6. Assignment Operations

Robert E. Beasley1 
(1)
Franklin, IN, USA
 

6.1 Introduction

An assignment operation sets the value of a variable, constant, or other item in the code behind of a Page class. The assignment statement is so fundamental to computer programming that every procedural/imperative programming language requires such a statement—regardless of its syntax. The general syntax of an assignment statement in the C# programming language is
Operand1 Operator Operand2;

where Operand1 is a variable, constant, or other item, Operator is an equal sign (=) or other assignment operator, and Operand2 is the value (or the result of an ...

Get Essential ASP.NET Web Forms Development: Full Stack Programming with C#, SQL, Ajax, and JavaScript 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.