C# (.Net) VS C++ For Windows 10 Desktop Dev?
I want to make desktop applications for Windows 10 (I want to use Swift for Mac. Is this a good choice?). I am having trouble choosing which one to use (C# [.Net] VS C++)
- I need to be able to create another app using this language that can install my other apps. Like my own installer. ¹
2. Needs to have normal performance. Like doesn't have to be hyper speed, but should be regular like other apps and shouldn't freeze all the time (Better, not at all).
- I will need to access the file system (
Program Data). Need to access Registry.
- Will need some basic things like, checking if connected to internet, uploading files to my server, downloading files from my server, etc. ²
- Like some basic things... Like accessing account info (Name, Profile Pic, maybe nothing [depends on app but would like functionality as I would like one language for all apps])
¹ If anyone here has adobe creative cloud or unity, they install the apps. Adobe - Installs Photoshop, etc., updates, etc. Unity - Installs the editor, updates, etc.
² Kind of like a backup. So like for some apps I will have a website version too. So users can use on any device. When they change info on website, when they open the app, it should be able to download the new info. Also, if the user doesn't have internet connection, when they get it again, it should be able to upload the latest info to the server.
Also, finally please don't bias your answer based on the language's missing futures or features (Like, I know C++ is harder... I don't mind.)
I will update this post with my final decision after choosing. I will also ping the 2 people who replied and helped me get to the decision, unless they mention that they don't want a ping. Then I will just mention them.
Both are equally as good for an app, excluding the language itself.
C# is much better documented. Otherwise, both have the same functionality.
Use c/c++: if you want more access over displays (maybe for games?)
Use c#: easier development and just better overall
OK! Thanks! I was already leaning towards c# because I have some experience (console apps) but my problem is that I tried using visual studio 19 and the only option I have is UWP apps. From what I found out, I cannot use my own installer (like I described)... I know about WPF and WinForms but WinForms are too old for my preference and apparently WPF apps don't use native code which takes up more memory. Are there any alternatives you know?
P.S. I am asking, what would I use to make the apps using c#.@Coder100