Questions tagged as 'tipagem'

5
answers

Why wear shorts?

The type short corresponds to a 16-bit integer - it is literally syntactic sugar for type Int16 . Current processors are all 64 bits, even on most low-end machines. Some older machines still have processors with 32-bit architectu...
asked by 25.04.2014 / 00:21
2
answers

What is the difference between Boolean and Boolean?

I ran some tests using Boolean and boolean and apparently returned the same result. See below: Boolean bool = true; boolean bool2 = true; if(bool) Log.wtf(TAG, "Funciona!"); if(bool2) Log.wtf(TAG, "Funciona também!...
asked by 24.10.2016 / 15:57
1
answer

What is the function of character? in variable type in C #?

I see many third-party codes and I often see the use of the question mark in the variable type. Example: public bool? Status Can anyone explain to me the difference between not having this ? sign in the bool data type.     
asked by 01.08.2014 / 22:33
3
answers

Difference between type text and varchar type in SQL Server

What's the difference between using type text instead of type varchar to store information in the database? Is there a performance problem? So I have a table in the database that has a text column and it several times timeout error...
asked by 17.12.2014 / 17:36
3
answers

Is it correct to prefix variable names with their type?

Is it customary / correct to use variables where the first letter refers to your typing? Eg: string sVariavel; int iVariavel; , etc ... EDIT: The name said is Hungarian notation . Is this a good practice? What is the good...
asked by 07.07.2016 / 15:37
2
answers

What are nested types?

I know that C # supports nested types, that is, it is possible for me to declare one class within another. For example: public class A { // Propriedades e métodos da classe A public class B { // Propriedades e métodos da...
asked by 22.02.2015 / 20:58
3
answers

What purpose of unsigned in C ++

What is the purpose of unsigned in C ++? Example: unsigned char ch2;     
asked by 30.07.2015 / 16:05
3
answers

What is the "question mark" in the C # type declaration? [duplicate]

I saw this code written in C # on the internet: namespace Test { [MicroEntitySetup(TableName = "Users")] public class User : MicroEntity<User> { [Key] public int id { get; set; } public string Name {...
asked by 28.04.2016 / 20:26
2
answers

What is the difference between varchar and nvarchar?

What's the difference between using data types varchar and nvarchar ? nvarchar exists in every SQL database? Is there any significant difference in performance between the two? Is there a criteria for using them? A...
asked by 21.06.2017 / 15:13
2
answers

What is typing style?

On Wikipedia, on the C # page says about the "typing style" of the language:    static and dynamic, strong, secure and insecure, nominative,   partially inferred What is typing style? What do the above terms mean?     
asked by 16.03.2017 / 04:50