Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Struct Ejemplo
//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 struct CoOrds { public int x, y; public CoOrds(int p1, int p2) { x = p1; y = p2; } } public class Program { public static void Main(string[] args) { // Initialize: CoOrds coords1 = new CoOrds(); CoOrds coords2 = new CoOrds(10, 10); // Display results: Console.Write("CoOrds 1: "); Console.WriteLine("x = {0}, y = {1}", coords1.x, coords1.y); Console.Write("CoOrds 2: "); Console.WriteLine("x = {0}, y = {1}", coords2.x, coords2.y); // Keep the console window open in debug mode. Console.WriteLine("Press any key to exit."); } } }
run
|
edit
|
history
|
help
0
Linq Func Action
Vowel
C# - Integer to Roman
Decorator Design Pattern
Custom long date
123
Jahongirochilov270@gmail.com
array int
pause a thread
Encrption & Decryption C#