Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
un poco de strings
//Microsoft (R) Visual C# Compiler version 3.4.0-beta4-19562-05 (ff930dec) //Copyright (C) Microsoft Corporation. All rights reserved. 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 name1 = "alex";//son inmutables string name2 = "Joel"; name1 += name2;//concatena las variables y las guarda en name 1 //es ese caso name1 quedo libre por un instante para asignarle el valor actualizado //borrar Console.Write("name2 = {0}", name1); //formatos de cadenas var nombre = (nombre1: "alex", nombre2: "joel");//creo 2 objetos tipo string // y les asigno valor a ambos Console.WriteLine($"{nombre.nombre1} y {nombre.nombre2}");//$ indica que vamos a reformatear el datoentre {} //se llama interpolacion de cadenas } } }
run
|
edit
|
history
|
help
0
Sort List of Ages Using A Stack
ray's 2nd test
Crystals Plep
Armstrong
Get missed element in integer collection
otro
for (int i= 2 ; i==5 ; i++)
Decimal Test2
Find the count of subsets with given difference
BaseUrl test