Double x;instead of
double x;but
Int x;is not okay instead of
int x;
> csc c1.cs c2.cs /main:NamespaceName.ClassName
Examples: 34, -13, 0, 234323, -85743
Examples: 3.043, -12.32, 0.00032, 5.98E+24, 9.11E-31
Examples: 'A' 'f' '5' '$' ' ' (space).
'\'' | Single Quote |
'\"' | Double Quote |
'\\' | Backslash |
'\a' | Audible Bell |
'\b' | Backspace |
'\f' | Form Feed |
'\n' | Line Feed |
'\r' | Carriage Return |
'\t' | Tab |
'\0' | Null Character |
10000000000L | long |
5.27F | float |
5.27M | decimal |
contain only alphabetic characters, decimal digits, and underscores,
not be more than 511 characters long. This length limit applies to fully qualified names as well as unqualified names.
Lower Camel Casing: fileName, numberOfCustomers, numOpenFiles
Uppercase Casing: IO, UI
{1,5:#0.00} means that parameter 1 (y) has a field width of 5, and that the format string "#0.00" is to be used.
width = a.GetUpperBound(1) + 1
width = a.GetLength(1)
totalSize = a.Length
public static int F(int a, int b)
{
...
}
public static void F(int a, int b)
{
...
return expression;...
}
ref | Pass by reference. Assigning a value to parameter is optional. |
out | Output parameter. Assigning a value to parameter is required. |
params | Parameter array. See following points. |
The parameter array must be passed by value.
The parameter array parameters are automatically optional. If none are specified, the parameter array is an array of length zero.