Guest
Public paste!

Classe Aluno

By: a guest | Mar 21st, 2010 | Syntax: C# | Size: 0.89 KB | Hits: 84 | Expires: Never
Copy text to clipboard
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5.  
  6. namespace Escola
  7. {
  8.     class Aluno
  9.     {
  10.         private int id;
  11.         private string nome;
  12.         private string telefone;
  13.         private string email;
  14.         private Nota nota;
  15.  
  16.         public int Id
  17.         {
  18.             get { return id; }
  19.             set { id = value; }
  20.         }
  21.  
  22.         public string Nome
  23.         {
  24.             get { return nome; }
  25.             set { nome = value; }
  26.         }
  27.  
  28.         public string Telefone
  29.         {
  30.             get { return telefone; }
  31.             set { telefone = value; }
  32.         }
  33.  
  34.         public string Email
  35.         {
  36.             get { return email; }
  37.             set { email = value; }
  38.         }
  39.  
  40.         internal Nota Nota
  41.         {
  42.             get { return nota; }
  43.             set { nota = value; }
  44.         }
  45.  
  46.  
  47.  
  48.  
  49.     }
  50. }