39 lines
436 B
C#
39 lines
436 B
C#
|
using System;
|
|||
|
|
|||
|
/*
|
|||
|
* Что такое NULL
|
|||
|
*/
|
|||
|
class MyClass
|
|||
|
{
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
struct MyStruct
|
|||
|
{
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class Program
|
|||
|
{
|
|||
|
static void Heap()
|
|||
|
{
|
|||
|
int[] a = new int[10];
|
|||
|
}
|
|||
|
|
|||
|
static void Main()
|
|||
|
{
|
|||
|
bool b;
|
|||
|
int a;
|
|||
|
double d;
|
|||
|
|
|||
|
//У классов - NULL
|
|||
|
Random random;
|
|||
|
int[] arr;
|
|||
|
MyClass myClass;
|
|||
|
|
|||
|
MyStruct myStruct;
|
|||
|
|
|||
|
Heap();
|
|||
|
Console.ReadKey();
|
|||
|
}
|
|||
|
}
|