Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
TuplaDivWriteHexa
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { //Your code goes here Console.WriteLine("Hello, world!"); Tuple<string, string> t = new Tuple<string, string>("un","dos"); Console.WriteLine("test: " + t.Item1+"-"+t.Item2); /* for (int i = 0; i < 3; i++) { Console.WriteLine("count1: " + i); } Console.WriteLine("*********************************"); for (int ii = 0; ii < 3; ++ii) { Console.WriteLine("count2: " + ii); } */ //var b = 16; int f = 5;//2.6f; int ff = 2;//1.2f; int r = f%ff; int m = f/ff; Console.WriteLine("r:" + r); Console.WriteLine("m:" + m); //byte b = 11111111b; /* var c = 2; c= ~b; Console.WriteLine("c:" + c); */ byte bb = 0x28; Console.WriteLine("b:" + bb); } } }
run
|
edit
|
history
|
help
0
Struct Ejemplo
SIN_in_Pow
Compare list
compiled prog
person-student-teacher
Random number between 1 - 100 between each value of 10 there will be a differnt message
Lesson1
salary
Intuit // C# // listing_4.1 (Console.WriteLine _ Форматный вывод)
Number of Digits in a Number