Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Delegaty
//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 { delegate int OperacjeLiczbowe(int x, int y); public static void Main(string[] args) { Console.WriteLine("Hello, world!"); OperacjeLiczbowe ol = Dodawanie; ol+= Odejmowanie; ol+= Mnozenie; ol+=Szalenstwo; ol(12,32); ol(1,1); } public static int Dodawanie(int x, int y) { Console.WriteLine(x+y); return x+y; } public static int Odejmowanie(int x, int y) { Console.WriteLine(x-y); return x-y; } public static int Mnozenie(int x, int y) { Console.WriteLine(x*y); return x*y; } public static int Szalenstwo(int x, int y) { Console.WriteLine((x*x) * (y*y)); return (x*x) * (y*y); } } }
run
|
edit
|
history
|
help
0
test
AnonymousFunction (demo)
Main4
Pascal's triangle
Shorten SMS Text
Numeric to graphical output using string extension method
Date Diff
azsdfghju654 ffddfdf
Geração de HASH do SKU pra enviar para Vtex
Random IF OR