using System.Collections.Generic;
public static void Main()
List<int> numbers = new List<int>();
Console.WriteLine("Lista desordenada:");
for(int i=0; i<numbers.Count; i++)
Console.Write(numbers[i] + " ");
static public class MyExtensionMethods
static public void Shuffle<T>(this List<T> source)
for(int i=0; i<source.Count; i++)
Random generator = new Random();
int randomIndex = generator.Next(0, source.Count);
source[i] = source[randomIndex];
source[randomIndex] = temp;
static public double Pow(this double source, double power)
return Math.Pow(source, power);
static public double ToRadians(this double source)
return source * Math.PI / 180;