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
ERGDV CSXDXS
ingresar datos por teclado
SVSVSV
Call Class Methods with Interface
Vídeo01 - Classe e Método
Contraseña final
CommandForce2
Math 9.3
Fibonacci with Given Length
Pizzas & List of Tuples