Yo tengo un proyecto final en la que debo llevar a cabo la creación de un aparatado en forma de estructura simple con la finalidad de ir dando vida al funcionamiento general del sistema. Dicha estructura deberá contener lo siguiente:
Servicios:
- Actividad
- Fecha de actividad
- Empleado encargado
- Paciente al que se sirve
- Área del servicio
Necesito ayuda de como estructurarlo, ya que no he manejado por partes un programa y por ahora llevo esto:
using System;namespace Servicios
{
public struct Servicios
{
public string actividad;
public string clave;
public string descripcion;
public string p_compra;
public string p_venta;
public string existencia;
}
class Program
{
private static object actividad;
public static ref object EstructServicio => throw new NotImplementedException();
static void Main(string[] args)
{
int tam;
tam = PedirTam();
Servicios[] cliente = new Servicios [tam];
//Entrada
InformacionDelServicio (ref EstructServicio);
//Salida
MostrarInformacionDelServico (actividad);
//Pausa
System.Console.WriteLine("\n\tPresiona cualquier tecla para terminar...");
System.Console.ReadKey();
private static int PedirTam()
{
throw new NotImplementedException();
}
}
private static void MostrarInformacionDelServico(object actividad)
{
throw new NotImplementedException();
}
private static void InformacionDelServicio(ref object estructServicio)
{
throw new NotImplementedException();
}
}