using System;
namespace Investigacion_Proyecto_1
{
/// <summary>
/// Summary description for Class1.
/// </summary>
class Class1
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
///
///
static void Main(string[] args)
{
int Tamaño=0;
LecturaTamaño(out Tamaño);
F();
F(1);
F(1,2);
F(1,2,3);
F(new int [] {1,2,3,4});
Final();
}
static void LecturaTamaño(out int Tamaño)
{
Console.Write("Teclee el Tamaño: ");
Tamaño=int.Parse(Console.ReadLine());
}
static void F(int x,params objett[]Vector)
{
Console.WriteLine("n° de argumentos: {0}", args.Length);
for (int i=0;i<args.Length;i++)
{
Console.WriteLine("args [{0}] = {1}",i,args[i]);
}
}
static void Final()
{
Console.ReadLine();
}
}
}