Find Jobs
Hire Freelancers

Develop a reusable collection that could be used as the foundation for a class representing a bank account

$10-30 AUD

Concluído
Publicado há mais de 8 anos

$10-30 AUD

Pago na entrega
This task requires you to 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:  [login to view URL] – this contains the interface that elements stored in the bank account must implement;  [login to view URL] – this contains a simple 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. The reusable collection you are required to implement must satisfy the following requirements: 1. The class must be named Account<>, must be in the SIT221_Collections namespace, must apply generics, and must apply the condition that any data types to be stored in the collection implement the ITransaction interface (hint: this refers to the ‘where’ keyword in the class declaration); 2. The class must implement the IList<> interface, including appropriate exceptions; 3. The class must provide a decimal property ‘Balance’ which calculates and returns the current balance of the class; 4. All data must 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 two elements and must be increased by two elements each time additional capacity is required; 6. All data must be stored in order (can be determined using the CompareTo() method implemented by the Deposit and Withdrawal classes); 7. The IList<>.Insert() method must perform no functionality and throw an 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.
ID do Projeto: 8329856

Sobre o projeto

4 propostas
Projeto remoto
Ativo há 9 anos

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
Concedido a:
Avatar do Usuário
HI Contact me for an efficient, perfect, well documented development of your project according to 100% accuracy and requirements, with dedicated support. Thanks Farah Saif
$25 AUD em 1 dia
5,0 (14 avaliações)
3,7
3,7
4 freelancers estão ofertando em média $34 AUD for esse trabalho
Avatar do Usuário
Dear I have done a lot of work in it and also currently working on these type of projects. I will deliver you best quality work on time.
$30 AUD em 1 dia
5,0 (1 avaliação)
0,0
0,0
Avatar do Usuário
Hello, Before you select a part time developer from here, take a look at fugacode.com. If you like what you see, contact them. That's all. "Why hire freelancers? when you can hire professional developers for the same cost" - Top Ranked Freelancing developers are with fugacode now. But not as individual developers. But as an award winning team in one building. Just for you! Regards.
$25 AUD em 1 dia
0,0 (0 avaliações)
0,0
0,0

Sobre o cliente

Bandeira do(a) AUSTRALIA
Melbourne, Australia
5,0
5
Método de pagamento verificado
Membro desde out. 2, 2014

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos 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)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.