Top "Types" questions

Types, and type systems, are used to enforce levels of abstraction in programs.

C# string reference type?

I know that "string" in C# is a reference type. This is on MSDN. However, this code doesn't work as …

c# string reference types
Is there a good reason I see VARCHAR(255) used so often (as opposed to another length)?

In multiple courses, books, and jobs, I have seen text fields defined as VARCHAR(255) as kind of the default for "…

database database-design types varchar
How do I find numeric columns in Pandas?

Let's say df is a pandas DataFrame. I would like to find all columns of numeric type. Something like: isNumeric = …

python types pandas
Typescript: Check "typeof" against custom type

I have a custom type, let's say export type Fruit = "apple" | "banana" | "grape"; I would like to determine if a …

typescript types
Pointtype command for gnuplot

I'm having trouble using the pointtype command on gnuplot. I've tried several ways such as: set pt 5 set pointtype 5 plot " " …

types gnuplot point pt
Where to find the complete definition of off_t type?

I am sending file from client to server using TCP. To mark the end of the file I like to …

c sockets networking types header-files
How to cast or convert an unsigned int to int in C?

My apologies if the question seems weird. I'm debugging my code and this seems to be the problem, but I'm …

c casting types int unsigned
C++ auto keyword. Why is it magic?

From all the material I used to learn C++, auto has always been a weird storage duration specifier that didn't …

c++ types c++11 auto
No function matches the given name and argument types

My function is: CREATE OR REPLACE FUNCTION FnUpdateSalegtab09 ( iacyrid Integer,iRepId Integer,iDrId Integer,ivrid Integer,imode smallint,itrno varchar,…

function postgresql types casting plpgsql
Common MySQL fields and their appropriate data types

I am setting up a very small MySQL database that stores, first name, last name, email and phone number and …

mysql database types