Denis
Denis
CC#
Created by Jexs on 4/30/2025 in #help
✅ Does it work like this?
If you decide to keep this thread, then you could paste a link in the chat and ask for help? Not sure if that is fine with the mods
19 replies
CC#
Created by Jexs on 4/30/2025 in #help
✅ Does it work like this?
Either stay here or the chat
19 replies
CC#
Created by Jexs on 4/30/2025 in #help
✅ Does it work like this?
I recommend not cross posting to avoid confusion
19 replies
CC#
Created by Jexs on 4/30/2025 in #help
✅ Does it work like this?
That is quite possible, however, not apparent for me from the question 😄 thanks for the clarification
19 replies
CC#
Created by Jexs on 4/30/2025 in #help
✅ Does it work like this?
The int.Parse and int.TryParse, afaik, expect numeric characters and not the English word for the number. So, this int.Parse("123") and not int.Parse("one hundred and twenty three")
19 replies
CC#
Created by Jexs on 4/30/2025 in #help
✅ Does it work like this?
I recommend doing a ToLower() on the string so that it always matches the switch cases, even if you enter "tHrEe"
19 replies
CC#
Created by Jexs on 4/30/2025 in #help
✅ Does it work like this?
If nothing matches, loop back to ask the user to try again
19 replies
CC#
Created by Jexs on 4/30/2025 in #help
✅ Does it work like this?
The current implementation seems quite weird. I'd read the input from the console, save that into a string variable and then put that through the switch to match "one", "two", etc.
19 replies
CC#
Created by kelteq on 3/27/2025 in #help
array exercise
Ah, alr.
7 replies
CC#
Created by kelteq on 3/27/2025 in #help
array exercise
7 replies
CC#
Created by kelteq on 3/27/2025 in #help
array exercise
An alternative would be to use a hashset. It will only contain unique numbers; thus, no duplicates and no unnecessary traversals over your array to check for duplicates. After that, you can convert the hash to an array, if you need. And you can scramble the order of the array items.
7 replies
CC#
Created by Bored Student on 3/26/2025 in #help
✅ Early return with yield
$close
5 replies
CC#
Created by Faker on 3/24/2025 in #help
✅ Problem updating rider
What happens if you close rider?
36 replies
CC#
Created by SineѶeҀҬOӶ⒉⓸⎤ᚙ▟ ▞╸ on 1/25/2025 in #help
ResX localisation issue (android, avalonia)
Highly recommend trying to achieve that too. Did that also for images
14 replies
CC#
Created by SineѶeҀҬOӶ⒉⓸⎤ᚙ▟ ▞╸ on 1/25/2025 in #help
ResX localisation issue (android, avalonia)
I've always had issues with Resx. I've written my own localization library that uses source generators to create properties for type safe access of localized strings
14 replies
CC#
Created by illusioncloud on 1/17/2025 in #help
Copy paste detector
I believe codefactor.io is an alternative to sonarqube. See what they have to offer, maybe it has what you need
8 replies
CC#
Created by Emirka on 1/15/2025 in #help
Learn help
Try the programmingbuddies subreddit
7 replies
CC#
Created by Jexs on 12/2/2024 in #help
How do i start?
The nice thing is, once you create the individual systems (e.g., navigation, or multilingual support), you can reuse them for your next project
5 replies
CC#
Created by Jexs on 12/2/2024 in #help
How do i start?
The project itself isn't that complicated, if we omit the server part. The issue is MVVM. Its a wonderful architecture for developing decoupled applications; however, it has a steep learning curve. If your goal is to learn WPF, the. I recommend starting with a smaller simpler project (which you could then incorporate in your larger project), so that you focus on the difficult part which is MVVM
5 replies
CC#
Created by Jexs on 12/2/2024 in #help
How do i start?
That's quite a lot of things you have to cover: - create a navigation system to change between views/pages - create an authentication system (what are you logging into? Is it your server or someone else's?) - create a server if the previous point requires it (this is not beginner friendly imo) - create views and viewmodels for: - login - notes - calculator - main page for choosing between notes and calculator With the server you'll have to handle querying, locking notes for editing such that a different user does not change it while you are editing the notes, and authentication system, user creation and removal. At the very least. If you have 0 experience with WPF, then this is a leap of a project. I recommend starting small, just create the calculator using WPF and proper MVVM. For MVVM I highly recommend checking out Community Toolkit MVVM. If you have no C# knowledge, then I suggest $helloworld
5 replies