Developful
Developful
CC#
Created by Developful on 10/30/2023 in #help
Middle join array
If i have an array like ["Hello", "NAME", "anna", "NAME"], is there a way to turn that into ["Hello", "NAME anna NAME"]
3 replies
CC#
Created by Developful on 9/14/2023 in #help
✅ Login system using avalonia
I'm using avalonia to make a simple login system. The way it works is that you put in your credentials, and then it sends over to the backend (servers), so it can check if they're correct. But I have a question, when you make an account for example, which sends the password over to the server to store it (a hashed version of it), wouldn't a middle man be able to take it? Is there a way to prevent this by encrypting or something? And also when sending over the password to the backend to check for credentials, wouldn't this propose basically the same problem? If so, what are some ways to prevent this? Or is this an issue I'm somehow overthinking? I've searched a bit for login/authentication systems, but can't really find much (perhaps i'm googling the wrong thing).
13 replies
CC#
Created by Developful on 9/3/2023 in #help
❔ How does C#'s inclusion system work?
probably terrible title (again). basically what i'm asking is how does C# know which files to take and compile? in C++ this is done by the whole #include system, but C# has .csproj and that kinda stuff so does C# just take all the .cs files in the current directory? or does it expand its search until it finds a .csproj
7 replies
CC#
Created by Developful on 8/30/2023 in #help
❔ Getting documentation from another class and putting it in another one
Title is probably very confusing, but I'm asking if theres a way to do this
/// <summary>
/// This is Class A;
/// </summary>
class A { }

/// grab Class A's documentation
class B { }
/// <summary>
/// This is Class A;
/// </summary>
class A { }

/// grab Class A's documentation
class B { }
so basically if i hover over B, it'll show me A's documentation i also don't wanna copy paste in case I make changes to A's documentation
13 replies