cause77
cause77
CC#
Created by _poisson_ on 1/19/2023 in #help
✅ Why string are immutable?
static unsafe void F()
{
Console.WriteLine(new String("abc"));
fixed (char* c = "abc")
{
c[0] = 'd';
c[1] = 'e';
c[2] = 'f';
}
Console.WriteLine("abc");
}
F();
static unsafe void F()
{
Console.WriteLine(new String("abc"));
fixed (char* c = "abc")
{
c[0] = 'd';
c[1] = 'e';
c[2] = 'f';
}
Console.WriteLine("abc");
}
F();
21 replies
CC#
Created by AriieSiiS on 1/19/2023 in #help
return two values
also, always use english words in names of methods
6 replies
CC#
Created by AriieSiiS on 1/19/2023 in #help
return two values
try var (posicion, contador) = Funciones.CantidadVeces();
6 replies
CC#
Created by AriieSiiS on 1/19/2023 in #help
return two values
6 replies
CC#
Created by cookiesaredelicious on 1/19/2023 in #help
✅ Random character generator
13 replies
CC#
Created by cookiesaredelicious on 1/19/2023 in #help
✅ Random character generator
13 replies