C
C#13mo ago
Bilal

❔ Best way to learn C#?

can someone suggest me a way to learn C# without missing anything and get into game development?
46 Replies
ZacharyPatten
ZacharyPatten13mo ago
game development is generally very advanced. How much programming experience do you have?
Bilal
Bilal13mo ago
i can code in python / lua / html
ZacharyPatten
ZacharyPatten13mo ago
Well, it is always best to start with the basics. C# is a strongly typed, compiled language unlike python or lua. the $helloworld tutorials are a good place to start learning basic C# syntax
Bilal
Bilal13mo ago
i know the syntax (watched a 7 hour tutorial)
Denis
Denis13mo ago
Watching a 7h tutorial is not enough, speaking from experience when
ZacharyPatten
ZacharyPatten13mo ago
you can't become an expert at the language from one 7 hour video. you need experience
Bilal
Bilal13mo ago
yea i know thats why i need help on advancing my skill s
Denis
Denis13mo ago
Start with the basics. Make a console game for example - make a hangman game Then try do battleships Just a thought
Bilal
Bilal13mo ago
how would i use a gui in the console?
ZacharyPatten
ZacharyPatten13mo ago
I agree that if you code some console games that is a great way to start learning. if you need examples I can link a github repo with examples of console games to help you out
Denis
Denis13mo ago
You don't. Everything would be text based
Bilal
Bilal13mo ago
yes
Denis
Denis13mo ago
GUI development is difficult. You have to take care of many more things
ZacharyPatten
ZacharyPatten13mo ago
https://github.com/dotnet/dotnet-console-games if you do give that github repo a look and have questions feel free to @ me
Bilal
Bilal13mo ago
👍
Denis
Denis13mo ago
Start simple and work your way up Or go yolo and buy a Udemy course for Unity game development But I suggest learning c# first
ZacharyPatten
ZacharyPatten13mo ago
Are you using Visual Studio?
Bilal
Bilal13mo ago
yes
Denis
Denis13mo ago
And making sure you're got the fundamentals of programming down. Not visual studio code, right?
ZacharyPatten
ZacharyPatten13mo ago
good man. visual studio is much easier than visual studio code for beginners 🙂
Bilal
Bilal13mo ago
i use code for other languages but for c# visual studio
Denis
Denis13mo ago
Great choice
Bilal
Bilal13mo ago
😭
ZacharyPatten
ZacharyPatten13mo ago
just curious, did you pick a game you want to try to code yet?
Bilal
Bilal13mo ago
ill go 1 by 1 from the list so guess the number rn
ZacharyPatten
ZacharyPatten13mo ago
awesome 🙂 good luck!
Bilal
Bilal13mo ago
gotta wait for this to download then i could make also could you give me some tutorials on advance C# (like including and stuff)
𝕭ourn
𝕭ourn13mo ago
I've been tinkering with C# for a month (probably a little more), and i'm currently developing a chat application with ASP NET (a web framework for C#) for my API, and React for the frontend. Start getting your hands dirty on something, like a basic hello world, then google some projects you could build to level up, just for the sake of learning the language :).
Bilal
Bilal13mo ago
👍
𝕭ourn
𝕭ourn13mo ago
Currently i'm having a heartstroke with EF Core (an ORM) ahah
Bilal
Bilal13mo ago
wth is that 😭
BuiltDiff
BuiltDiff13mo ago
whats the difference
𝕭ourn
𝕭ourn13mo ago
it's basically a tool that makes it easier to interact with databases, mapping database entities (such as tables in a relational db) to C# objects. Unless you want to play with databases, you won't have to worry about it
ZacharyPatten
ZacharyPatten13mo ago
Visual Studio is a fully featured IDE while Visual Studio Code is more of a text editor in comparison. Visual Studio Code doesn't have integrated Winforms/WPF designers, it doesn't have integrated unit test explorers, it doesn't have as advanced of debugging features, etc. etc. etc. There are some extensions that do help out coding C# with Visual Studio Code, but overall it is still no where close to Visual Studio's feature set and as mentioned, Visual Studio Code is not really beginner friendly for multiple reasons
BuiltDiff
BuiltDiff13mo ago
oh ic and do ppl use c++?
ZacharyPatten
ZacharyPatten13mo ago
C++ is a very popular programming language. So yes people certainly use it. Can you be a little more specific in what you are asking?
BuiltDiff
BuiltDiff13mo ago
do people help wiht c++ in this server?
BuiltDiff
BuiltDiff13mo ago
is this visual studio or visual studio code ?
ZacharyPatten
ZacharyPatten13mo ago
C# and C++ are completely different programming languages. We tend to keep conversations to C# on this server, but there is another server for C/C++ $cpp
MODiX
MODiX13mo ago
We're partnered with Together C & C++, check them out here: https://discord.gg/vnyVmAE
BuiltDiff
BuiltDiff13mo ago
oh thanks .
ZacharyPatten
ZacharyPatten13mo ago
that is Visual Studio
BuiltDiff
BuiltDiff13mo ago
ic thanks
Mayor McCheese
Mayor McCheese13mo ago
Someone here has a whole bunch of repos dedicated to console games.
Accord
Accord13mo 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.
Want results from more Discord servers?
Add your server
More Posts
❔ Getting the connectionString from appsetting.jsonHello everyone, in my project I am using a Generic build like this: `public class EfGenericRepositor❔ C# Powershell, pipe one script to another?Is it possible to run a script and pipe that result to another? The closest I find is something lik❔ Shadowsocks VPN clientHello, i am trying to build a shadowsocks vpn client so im not required to share any information ab[C# Winform with Sql Server] Error: 'Column named StdId cannot be found.Parameter name: columnName'Trying to select a row in Data Grid View in Winform C# and see the image to have an idea to my Table❔ WEB3. Get the the amount of tokenx I can buy with a certain amount of busd.I want to get the amount of tokenx I can buy with different inputs of busd. I have written out some ❔ Understanding reading values from binaryI'm reading a version number from the binary of a client via hex. However, I get different results w✅ Optimizing `HTTPClient.GetAsync()` and large stringsI am writing a client application that consumes a web API at a near real-time rate (100ms). I am usi❔ .NET Service discoveryI have a gRPC server installed on a workstation in an on-premise local network. And I have client apHow do you get the output type from a powershell script with System.Management.Automation?I am trying to figure out how to get the type specified in a powershell script `[OutputType([int])]`❔ Make interface deriving from another interface have a sealed implementation of a function...so that you dont have to write the same code for every child interface. details are in pastebin: