All pastes #416943 Raw Edit

Stuff

public text v1 · immutable
#416943 ·published 2007-03-30 16:34 UTC
rendered paste body
using System;
using System.Collections.Generic;
using System.Text;

namespace WindowsApplication1
{
    class CSalarie
    {
    private void:
        // Structure salarié
        typedef struct
        {
            int num;
            string nom;
            string adresse;
            double salaire;
        }SSalarie;
        SSalarie Salarie[100];
    public void:
        // Méthode Set
        void Set(int indice, int s_num, string s_nom, string s_adresse, double s_salaire)
        {
            this->Salarie[indice].num = s_num;
        }
    }
}