DEV Community

Sabrina
Sabrina

Posted on

Value Type va Reference Type

a) Value Type va Reference Type nima?

1. Value Types (Qiymat turlari)
2. Reference Types (Havola turlari)

b) Quyidagi kodni natijasi : 5

int a = 5;
int b = a;
b = 10;
Console.WriteLine(a);
Enter fullscreen mode Exit fullscreen mode

Top comments (0)