SpReeD
SpReeD
CC#
Created by Tantrim on 6/29/2024 in #help
INotifyPropertyChanged
variables of classes There's nothing like it, you have either Properties or Fields, the latter are the actual storage, while a Property is like a linked gate to a shadow-field/backing-field behind it. Going further, this is the so called state of the instance of the object, which changes throughout runtime. While static is a non-instance object, so every method or field has only one instance, like a singleton pattern styled class. I wrote this, because I see you have plenty of static, if not only, methods. Can you provide more $code ?
26 replies
CC#
Created by Tofaa on 6/29/2024 in #help
Array resizing issues
Or giving the member an Id property to access the object directly?
26 replies
CC#
Created by Tofaa on 6/29/2024 in #help
Array resizing issues
Stupid question, but, why not use List instead?
26 replies
CC#
Created by Tantrim on 6/29/2024 in #help
INotifyPropertyChanged
You may import/export (exchange) JSON objects between users by using Base64 (or Base85) coding to improve sharability and performance.
26 replies
CC#
Created by Tantrim on 6/29/2024 in #help
INotifyPropertyChanged
SQLite is the way to go, it's a file-based SQL database, no need for a server, can be used with all common ORM like Dapper and EntityFramework.
26 replies
CC#
Created by Tantrim on 6/29/2024 in #help
INotifyPropertyChanged
Serializing is fine for user-settings etc. but when it comes to data storage you wanna use an actual db.
26 replies
CC#
Created by Tantrim on 6/29/2024 in #help
INotifyPropertyChanged
40 json files? - why not use a DB?
26 replies
CC#
Created by Tantrim on 6/29/2024 in #help
INotifyPropertyChanged
Sounds strange, but the config is for your MAUI app?
26 replies
CC#
Created by Tantrim on 6/29/2024 in #help
INotifyPropertyChanged
26 replies
CC#
Created by Tantrim on 6/29/2024 in #help
INotifyPropertyChanged
and I'm using a library called Config.Net Doesn't matter, that's BusinessLogic part, let the ViewModel contact what's behind
26 replies
CC#
Created by Tantrim on 6/29/2024 in #help
INotifyPropertyChanged
Idd, that's where BindingList joins the room, also it relays when its items has implemented the INotifyPropertyChanged interface.
26 replies
CC#
Created by Tantrim on 6/29/2024 in #help
INotifyPropertyChanged
It depends on the rest of the code, generally speaking, "yes". However, I guess you're using the INotifyPropertyChanged in WPF/MAUI? - If so, you don't subscribe directly to the event, let the UI handle it by using bindings between View & ViewModel - also you don't wanna use List, but ObservableCollection or better BindingList since both implement the INotifyCollectionChanged interface.
26 replies
CC#
Created by Tantrim on 6/29/2024 in #help
INotifyPropertyChanged
You don't attach or deattach, you subscribe or unsubscribe to an event, meaning it's a 1:n relation.
26 replies
CC#
Created by FakeLix on 6/29/2024 in #help
Any tips how to be good in WPF
What is it exactly you struggle with?
20 replies
CC#
Created by godless on 6/25/2024 in #help
How to use C# to determine the end or next redirection point of a page
That's the point, are we talking about a Web-Page, an Excel-Sheet, a WPF-Page, a physical page on the scanner?
44 replies
CC#
Created by godless on 6/25/2024 in #help
How to use C# to determine the end or next redirection point of a page
$details
44 replies
CC#
Created by .Kuba on 6/18/2024 in #help
Problem with Timer
First of all I would encourage you to use the universal science language in your code, all over your code. Next, bring up some details, what is the goal of it all? As far as I understand polish, it's the beginning for some game, getting missions, earning expierence, levels, etc. each saved to a different txt file?
17 replies
CC#
Created by ChumpRumpkis on 6/18/2024 in #help
I'm new to C# and i need to know something
Just because it's 2D doesn't mean it's not art. 2D gfx and pixel-gfx is art at all. - But, besides that, you seem to only see the money not the art in this, like, coding. People who writes code are authors and writes prose in the language of logic. - However, if you don't have 27GB (the space of a free USB drive) for an actual IDE instead of a texteditors with plugins. I can't help ya, nobody can. Wish you good luck on your way and may the dollars be with you ❤️
66 replies
CC#
Created by ChumpRumpkis on 6/18/2024 in #help
I'm new to C# and i need to know something
Windows-Apps? - You mean Desktop-Applications? - And Mobile, like MAUI I guess. You surely ain't the first and not the last one with a good game/app idea - but it's a long long way to go from zero to hero. Development ain't just a bunch of ChatGPT output - people study that topic (computer science) for years and decades and still need a team to make a game, you know, somebody has to code, someone else has to do SFX & GFX and so on.
66 replies
CC#
Created by ChumpRumpkis on 6/18/2024 in #help
I'm new to C# and i need to know something
27GB aint much these days - besides, what do you wanna learn?
66 replies