All Questions
31
questions
3
votes
2
answers
106
views
Parse the weekly menus of a German delivery service
I am a C# beginner, and I wrote a program that parses the weekly menu of a German delivery service. It works fine and I think the code quality is okay. Can anyone with more experience than me review ...
7
votes
3
answers
1k
views
Reversible tax calculator class
I have a class that contains 2 properties of the same type. decimal NetAmount and decimal GrossAmount
I would like to ...
8
votes
2
answers
6k
views
Banking application for practice
A few weeks ago I have started to teach myself C# and just finished my first little project, a very basic banking application. I don't expect it to be good but would like to get feedback (no matter ...
4
votes
3
answers
560
views
Payments Service
The code that I am working with below is a payment service and MakePaymentRequest request takes in two account numbers, a receiving and a sending account, payment ...
5
votes
5
answers
2k
views
App that calculates interest into a monthly payment
This does work and serves the purpose. But, being my first code, it's sloppy and I know there are somethings I could of done to make it easier. I would like everyone's opinion on what I could do to ...
3
votes
3
answers
380
views
Claiming coupons [closed]
I am currently creating a system that allows a user to claim a coupon, after the coupon is claimed the receive currency on their account.
I recently ran into an issue in which if 2 requests with the ...
1
vote
2
answers
207
views
CRUD code for a finance WebForm
I have a finance web-application in ASP.NET WebForms using Telerik RAD controls. Two event handlers wound up being very similar in implementation.
What steps could I take to improve the organization ...
3
votes
3
answers
226
views
Enumerate list with filter criteria
Given the following CreditCard object, how would you get a count of unexpired credit cards? What are the pros/cons of using each method? Or is there a better/...
2
votes
2
answers
131
views
Sales Tax problem (new version)
I was told that this version is too simple, that need something more complex. I added Entity Framework.
Here my code:
...
8
votes
1
answer
512
views
SalesTax problem (C# version)
One year ago I published an F# solution of the same task and there is an old C# solution. But I think it's a simple task and require a simple solution.
What do you think?
...
8
votes
5
answers
1k
views
Calculating the daily profit of a clinic
I need help with optimizing a piece of code I've written in C#, which is very sloppy right now. I needed to write code that tracks the amount of money a hospital has made at the end of the day, ...
19
votes
4
answers
25k
views
Operations to a bank account
I am a new .NET/C# developer and one issue bugs me ever since I've wrote code the first time. How can I improve this code?
Program.cs:
...
4
votes
3
answers
440
views
Scheduled adjustable payments
Short Description:
I'm working on a "small" project for our finance department. The problem I'm having is managing this large function (at the bottom). It's so large because I'm having troubles ...
5
votes
3
answers
2k
views
Case Study - Basic sales tax
The solution was to be assessed, not just on completing the task but also on code quality and design, presence of testing, robustness, maintainability etc.
Problem Statement
Scenario
Basic ...
6
votes
2
answers
246
views
Script that parses the Chase.com page for my recent payments
I wrote this code earlier to parse Chase.com's online transactions page. It's written in WinForms.
stepBtn is a button that starts this.
...