jump to navigation

Reescribir un archivo de texto en C# 26 Julio 2008

Posted by joelperez in Microsoft, Programacion.
Tags: , ,
add a comment

using System;

using System.IO;

using System.Collections.Generic;

using System.Text;

 

namespace JoelTextReWriter

{

    class Program

    {

        static void Main(string[] args)

        {

            string Linea = “”;

            using (StreamWriter sw = new StreamWriter(“archivo_destino.txt”))

            {

                TextReader tr = new StreamReader(“archivo_origen.txt”);

                while ((Linea = tr.ReadLine()) != null)

                {

                    Console.WriteLine(Linea);

                    sw.WriteLine(Linea);

                }

                tr.Close();

            }

        }

    }

}

Multidimensional Arrays (C#) 25 Enero 2007

Posted by joelperez in ASP.NET, C#, Microsoft, Programacion.
3 comments

int[,] array2D = new int[,] { { 1, 2 }, { 3, 4 }, { 5, 6 }, { 7, 8 } };
int[, ,] array3D = new int[,,] { { { 1, 2, 3 } }, { { 4, 5, 6 } } };

string[,] AO2ID = new string[,]{{“ACMBC”,“987″},{“AGRG”,“988″},{“PLMR LRG”,“989″},{“RMS”,“990″},{

“AGD PCHN”,“993″},{“AGD SN RQ”,“997″},{“LNDR ATVSD”,“995″},{“CNQ 7A”,“983″},{

“L YSR”,“986″},{“PST HRNNDZ”,“982″},{“R NGR NRT”,“986″},{“CAM 2 – A Sur”,“976″},{

“MGLLNS”,“977″},{“TRR DL FG”,“975″},{“L TRDLL”,“970″},{“L TPR-PST QRG”,“970″}};

Cursos Microsoft y Competencias 20 Diciembre 2006

Posted by joelperez in Cursos, Internet, Microsoft, Programacion.
add a comment


http://www.mslatam.com/latam/msdn/comunidad/NetProtector/home.aspx

Este es tu punto de partida para comenzar el programa de capacitación en seguridad. Desde aquí podrás acceder a las diferentes áreas que componen Net Protector. Recuerda que encontrarás todos los materiales de estudio y la posibilidad de rendir exámenes dentro de la opción Centro de Estudios. Si tienes alguna duda del funcionamiento del programa, no dejes de hacer clic en el botón Mapa de Estudios del menú de la izquierda.