Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Random number string changer
//Title of this code //Rextester.Program.Main is the entry point for your code. Don't change it. using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { string i = "dog"; string c = "cat"; Random rnd = new Random(); int Value = rnd.Next(1,3); if (Value == 1) { Console.Write("Animals: {0}, {1}.", i, c + " " + Value); } if ( Value == 2) { i = "panda"; c = "deer"; Console.Write("Animals: {0}, {1}.", i, c + " " + Value); } } } }
run
|
edit
|
history
|
help
0
ElevatorDesign_2020Dec11
LINQ-Group BY
CodeAdvent
Main3-2
edmond@DESKTOP-M2BC2LH
Remove dublicates
MegaWays3
Celsius to Kelvin / Kelvin to Celsius
масиви част1
prime