Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
int-float C# division
// C# division using System; namespace Rextester { public class Program { public static void Main(string[] args) { int two_int = 2; int three_int = 3; float two_float = 2.0f; float three_float = 3.0f; // int / int Console.WriteLine(two_int / three_int); // int / float Console.WriteLine(two_int / three_float); // float / int Console.WriteLine(two_float / three_int); // float / float Console.WriteLine(two_float / three_float); } } }
run
|
edit
|
history
|
help
0
squaredigits
Shift Example
Delegate test lambda
1
Anq Calc
C# Overriding example using virtual and override keywords
Multidimensional Arrays
shell sort
Swap numbers without the third variable using the XOR operator
CommandForce2