Strings in c#
Strings • Reference type • Represents a string of Unicode characters string studentName ; string courseName = "Programming I"; string twoLines = “Line1\nLine2”; Making Data Constant : • Add the keyword const to a declaration • Value cannot be changed • Standard naming convention • Syntax – const type identifier = expression; const double TAX_RATE = 0.0675; const int SPEED = 70; const char HIGHEST_GRADE = ‘A’;