Ocak 02, 2013

C# Veri Tipleri

int, uint, short, ushort, long, ulong, byte, sbyte, float, double, decimal, bool, char, string, object veri tipleri ve değer sınırları;
  • uint ile int arasındaki işlemlerde sonuç long
  • long ile ulong hariç diğer veritipleri ile yapılan işlemlerde sonuç ulong
  • long ile ulong aritmetik işleme girmez
  • float ile diğer tamsayı tipler arasındaki ve kendi ile yapılan işlemlerde sonuç float
  • double, tamsayı,double ve float ile yapılan işlemlerde sonuç double
  • decimal double ve float ile işleme girmez
  • decimal tam sayı tiplerde sonuç decimal 
  • sbyte, byte, short, ushort, int ile işlemlerde sonuç int
  • uint, sbyte, byte, ushort, short ile işlemlerde sonuç uint

1 yorum:

System.Text.Json.JsonException hatası - cycle or if the object depth is larger than the maximum allowed depth of 32.

 Eğer .net'te aşağıdaki hatayı alıyorsanız; " A possible object cycle was detected which is not supported. This can either be due t...