© Ali Asad and Hamza Ali 2017

Ali Asad and Hamza Ali, The C# Programmer’s Study Guide (MCSD), 10.1007/978-1-4842-2860-9_4

4. Advance C#

Ali Asad and Hamza Ali1

(1)Sialkot, Pakistan

C# is a very rich language that provides too much sugar code that developers can take leverage from. In this chapter, we’ll look into some of the most popular features of C#, such as:

  1. Boxing/Unboxing

  2. Generics

  3. Collection

  4. Framework Interfaces

  5. Manipulating Strings

Boxing and Unboxing

Boxing and unboxing are important concepts in a C# type’s system. They were introduced in C# 1 when there was no defined concept for generalization of types.


Boxing refers to implicit conversion of a value type into an object type, or to any interface that it implements, e.g., int to IComparable<int>. ...

Get The C# Programmer’s Study Guide (MCSD): Exam: 70-483 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.