Find Jobs
Hire Freelancers

SIT221 Classes, Libraries and Algorithms

$10-30 AUD

Terminado
Publicado hace más de 8 años

$10-30 AUD

Pagado a la entrega
Simple Classes, Libraries and Algorithms work. Needed in 4 days. (Part A) Develop a reusable collection that could be used as the foundation for a class representing a bank account. Along with this task you have been provided with several C# code files relevant to this task:  ITransaction. cs – this contains the interface that elements store d in the bank account must implement;  [login to view URL] – this contains a simp le class representing a deposit transaction;  [login to view URL] – this contains a simple class representing a withdrawal transaction; and  [login to view URL] – this contains a Main() method that will help you validate the collection that you are required to implement below. T he reusable collection you are required to implement must satisfy the following requirements: 1. The class must be nam ed Account<> , must be in the SIT221_ Collec tions namespace, m ust apply generics, and must apply the condition that a ny data types to be stored in the c ollection implement the ITransaction interface (hint: this refers to the ‘ where ’ keyword in the class declaration); 2. T he class must implement the IList< > interface , i ncluding appropriate exceptions ; 3. The cla ss must provide a decimal property ‘ Balance ’ which calculates and returns th e current balance of the class; 4. All data m ust be stored using arrays, however no array should be exist unless there is data stored in the collection; 5. When required, the array must be allocated with an initial size of t wo elements and must be increased by t wo elements each time additional capacity is required ; 6. All data must be stored in order ( can be determine d using the CompareTo() method implemented by the Deposit and Withdrawal classes); 7. The IList< > .Insert() method must perform no functionality and throw a n exception of type NotSupportException ; 8. At no time can the account ’ s Balance value be negative ( ignore the order of transactions for this requirement) – if any change to the collection would result in a negative balance, an exception of type InvalidOperationException should be thrown . (Part B) Prepare appropriate documentation for your new collection satisfying the following requirements: • You are required to document your collection using C# XML comments; • You are required to generate HTML documentation using the Doxygen tool; • You are required to write an example program that must be included in the documentation (must be a more realistic example, not adapted from the provided tester program); • You must document the following elements for your class and each public variable, property, and/or method of that class (you do not need to document any nested classes): o A general description of the class/variable/property/method o All parameters; o All return values; and o Exceptions. • All text in the documentation must be in your own words, you may not reuse any text from the MSDN documentation, workbook solutions, or any other source.
ID del proyecto: 8218368

Información sobre el proyecto

1 propuesta
Proyecto remoto
Activo hace 9 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
Hi, I have read the requirements and I would like to do this project if given the opportunity. I am a computer science practitioner and having the "C# and Algorithms" badge makes me confident that I can deliver the project as required. Let me know if you are interested so I can start. Thanks.
$50 AUD en 1 día
4,9 (285 comentarios)
6,3
6,3
1 freelancer está ofertando un promedio de $50 AUD por este trabajo
Avatar del usuario
A proposal has not yet been provided
$66 AUD en 1 día
4,9 (24 comentarios)
3,7
3,7

Sobre este cliente

Bandera de AUSTRALIA
melbourne, Australia
5,0
2
Forma de pago verificada
Miembro desde ago 19, 2013

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.