在c#.net中对sbyte,short,int,long的实时exaples [英] Real time exaples for sbyte, short, int, long in c#.net

查看:159
本文介绍了在c#.net中对sbyte,short,int,long的实时exaples的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请...我是一名.net学习者。我想知道在哪里我可以在不同的domins中实时使用不同类型的数据类型..



我尝试了什么: < br $>


i非常想想..但是我得到的数据类型的实时示例只执行正数值数据类型。我没有得到数据类型的例子,其中包括sbyte,int,short,long和c#.net

解决方案

中的所有其他数据类型的正值和负值一点点阅读是为了你。您可以在此链接中看到每种类型的详细说明:



值类型(C#参考) [ ^ ]



每种类型的实时应用程序由您要放置的数据大小定义在变量中。 (即如果你使用的是-128到127之间的轮数,那么你可以使用一个sbyte,而short可以让你的范围是-32,768到32,767等。)所有的信息都在我提供的链接中。

please... i am a .net learner. i want to know where i can use the different types of datatypes in the different domins real time..

What I have tried:

i think very much ].. but i cont get the real time examples for the data types execpt only positive numeric datatypes. im not getting the examples for data types whos has both positive and negative values for sbyte, int, short, long and all other datatypes in c#.net

解决方案

I think a little reading is in order for you. You can see a detailed explanation of each of these types in this link:

Value Types (C# Reference)[^]

Real time application of each of these types is defined by the size of the data that you are going to be placing in the variable. (i.e. If you are using a whle number between -128 and 127 then you can use an sbyte while a short will allow you a range of -32,768 to 32,767, etc.) All the information is in the link I provided.


这篇关于在c#.net中对sbyte,short,int,long的实时exaples的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆