Загрузка...

What is difference between VAR and DYNAMIC keywords in C#

var is a statically typed variable. It results in a strongly typed variable, in other words, the data type of these variables is inferred at compile time. This is done based on the type of value that these variables are initialized with.

dynamic are dynamically typed variables. This means, their type is inferred at run-time and not the compile time in contrast to var type.

Видео What is difference between VAR and DYNAMIC keywords in C# канала parvesh
Яндекс.Метрика

На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.

Об использовании CookiesПринять