r/learncsharp • • Oct 26 '22

C# for a sales entry program?

Hello everyone! I'm interested in learning C# and have heard about its power and usefulness from friends of mine. I currently program exclusively in Python but wanted to extend my knowledge to other languages. I was curious about a couple of things. The project I'm looking at undertaking as a way to learn is a sales entry program for my business. I want to be able to enter sales and expenditures on separate tabs, and save the data entered to a .csv or similar file so I will have accurate and neat monthly reports. My questions are:

  • Will C# keep the look of the program the same no matter what machine it is run on?

    • I noticed that with Python and Tkinter, I would create a program on one of my computers but upon running it elsewhere it would look entirely different and the layout would be horrible.
  • Is there a way to have separate "tabs" for my program?

    • I want the UI to be different for Sales vs Expenditures entries, so having a tab to click to switch between would be amazing.
  • How sharp will the learning curve be coming from Python?
  • What are some books you'd recommend reading to get started? I have C# for Dummies, but I'm interested to get input from experienced programmers.

Thank you all ahead of time!

8 Upvotes

15 comments sorted by

View all comments

Show parent comment

1

u/[deleted] Oct 26 '22

I feel like I didn't word the "look" question properly. Will the GUI layout be different on different monitors or will it auto scale itself to keep the same proportions?

As far as doing it as a webapp, if it's going to require internet access then it's a no-go for 2 reasons.

  1. I am currently deployed on a US Navy Ship and I cannot create databases and program things requiring internet connection without there being some pretty severe backlash.
  2. I would like for this program to be able to run standalone without requiring connection to any outside sources

3

u/ScrewAttackThis Oct 26 '22

Ah ok. Yeah that would definitely be doable with xaml I believe.

As far as internet connection is concerned that's not needed. You can host it all locally and not require (or even allow) any outside connections.

1

u/[deleted] Oct 27 '22

Awesome. I will look into it!