The main purpose of this question is to contribute content to Stack Overflow in Spanish
In C # we can convert data types (that do not accept the null value) to be nullable; assigning null to this type of data, produces a syntax error since C...
I want to make an enum of countries to which you can access their states, something similar to this:
public enum SomeEnum {
ARGENTINA {
BUENOS_AIRES;
}
UNITED_STATES {
CALIFORNIA, FLORIDA, NEW_YORK, ALASKA;...
Suppose the following code:
public struct Result
{
public object objectResult
public Type objectType;
}
Result resultado = CualquierFuncion();
The CualquierFuncion function would be something like this:
public Result Cualq...
When determining if an object belongs to a type, basically one of these two solutions is used:
foo instanceof Tipo;
O
foo.getClass() == Tipo.class;
The question is: What advantages and disadvantages does each one offer and in which cas...
In Delphi Tokyo for Linux, what are the equivalent types of:
ShortString
AnsiChar
AnsiString
I send this block of code to show how these types work for Windows but for Linux not:
program Project1;
{$APPTYPE CONSOLE}
{$R *.res...