SIZEOF Keyword Example : It shows the size of Data types

We will learn about sizeof() with the help of the example. Here sizeof() is an operator in c#. It used to obtain the size of a data type in bytes and works only on compile-time. It does not work with the variable and instance.Example:
using
System;
using
System.Collections.Generic;
using
System.Linq;
using
System.Text;
using
System.Threading.Tasks;
namespace
DataTypesDemo
{
...