C
C#•2y ago
ayman

ā” Learn c#

Any good tutorials to learn C# ? (I watched the Microsoft one)
29 Replies
Angius
Angius•2y ago
$helloworld
ayman
aymanOP•2y ago
I watched them but they don't explain everything Such as private/public concepts
Pobiega
Pobiega•2y ago
programming isnt something you learn passively by watching videos
Angius
Angius•2y ago
The documentation will be more comprehensive, then But my recommendation is to pick a project and google your way to completion
ayman
aymanOP•2y ago
Yeah ik I arleady have some experience
Pobiega
Pobiega•2y ago
Such as?
ayman
aymanOP•2y ago
Learned javascipt I keep forgetting those ;
Angius
Angius•2y ago
Using a better language shouldn't be much of an issue, then
Pobiega
Pobiega•2y ago
šŸ˜„
Angius
Angius•2y ago
Especially with how OOP Javascript has gotten recently
ayman
aymanOP•2y ago
lmao
Angius
Angius•2y ago
It even has #private members nowadays
ayman
aymanOP•2y ago
never heard of private in javascript
Angius
Angius•2y ago
class Foo {
#privateFunction() {}

publicFunction() {}
}
class Foo {
#privateFunction() {}

publicFunction() {}
}
The actual implementation is very hacky, but it does the job
Pobiega
Pobiega•2y ago
anyways, regarding specifically private and public, they are so called access modifiers in C#
Angius
Angius•2y ago
The implementation being, .# is disallowed omegalul
Pobiega
Pobiega•2y ago
Im sure google can lead you to the documentation for it they, with their friends internal and protected, help you restrict who can access what methods/fields/properties on your objects
ayman
aymanOP•2y ago
ARKit j’y Arlight* My main objective is to make a fully discord bot with csharp
Pobiega
Pobiega•2y ago
thats very easily done. have you checked our #discord-dev channel?
ayman
aymanOP•2y ago
No Im trying to get a solide base before
Pobiega
Pobiega•2y ago
okay, fair enough. dotnet new console is a great startingplace imho
ayman
aymanOP•2y ago
/close My internet sleeping
Groophy
Groophy•2y ago
not readable
Angius
Angius•2y ago
?
ayman
aymanOP•2y ago
Im trying to recreate consoles games To learn basics
Pobiega
Pobiega•2y ago
excellent
Angius
Angius•2y ago
Start with higher-lower It's deceptively tricky, with C#'s handling of nullability and having to parse numbers properly
Accord
Accord•2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.

Did you find this page helpful?