• JavaScriptPHPHTMLCssPythonWordPressWeb developmentLinuxMySQLAndroid
    WindowsJavaC++ / C#LayoutReactUbuntuYiiDjangoProgramming1C-Bitrix
    LaravelSystem administrationTelegramJSONDebianPostgreSQLIOSGoogleHtaccessWindows Server
    GitMacOSGoogle ChromeCMSWooСommerceBootstrapNginxSQLUnityAPI
  • Ask
  • Leaders

Categories

JavaScriptPHPHTMLCssPythonWordPressWeb developmentLinuxMySQLAndroidWindowsJavaC++ / C#LayoutReactUbuntuYiiDjangoProgramming1C-BitrixLaravelSystem administrationTelegramJSONDebianPostgreSQLIOSGoogleHtaccessWindows ServerGitMacOSGoogle ChromeCMSWooСommerceBootstrapNginxSQLUnityAPI
Programming
JavaScript PHP HTML Css Python WordPress Web development Linux MySQL Android Windows Java C++ / C# Layout React Ubuntu Yii Django Programming 1C-Bitrix Laravel System administration Telegram JSON Debian PostgreSQL IOS Google Htaccess Windows Server
Make a leaderReport
G
G
Grandma Luda2021-09-25 19:28:15
C++ / C#
Grandma Luda, 2021-09-25 19:28:15

How to find out the data type of a variable?

How to find out the data type of a variable?

Reply
Answer the question

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Report
V
Vasily Bannikov, 2021-09-25
@KirasiH

var x = 42;
var xType = x.GetType();
Console.WriteLine(xType.Name); // Int32

Similar questions
E
EVOSandru62017-08-19 21:11:16
Why does dataProvider break in YII2? 4Reply
M
mrWan2017-09-01 23:13:01
What jquery event closes select? 3Reply
A
Alexander Nazarov2017-09-06 19:23:54
How to use grep to display all the ports that are used by programs running as a specific user? 2Reply
A
Atlass2020-03-22 13:47:58
How to make sure that out of several conditions only one suitable one is met? 4Reply
W
WeBBeW2017-12-31 19:01:35
What does this mean? Warning: mysqli_fetch_array(): The result type should be either MYSQLI_NUM, MYSQLI_ASSOC or MYSQLI_BOTH in? 3Reply

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question

banners