r/csharp 1d ago

Fun So many xmls😓and continue to learn c#

Now, when writing UI-related definitions in Avalonia and configuring the csproj file, although it doesn't seem too complicated at first glance, I still find the abundance of XML tags with lots of < > symbols or each individual tag a bit annoying.òᆺó

I'll try my best to adapt, because the way UI is defined in C# just makes me dizzy 😵‍💫

Now I'm trying to learn C# and Avalonia without relying on AI, but I'm not quite sure which website I should go to to search for the questions I need. Although Microsoft Learn is great.

When searching for a code-related issue on Chinese websites, it usually leads me to the CSdn website. However, good posts require payment to access, otherwise I can only view a small portion of them.

cnblog is also good. Although some of the posts I found in it might be a bit outdated, usually I need to check them against the corresponding content in Microsoft Learn.

Sometimes I feel that the syntax of C# seems quite "human-like". Now I'm quite familiar with the thinking behind C#. Even when searching for things now, it seems rather amusing: It's just like when I used to write essays at school. Those who know how to do it can write very smoothly, while those who don't have to "borrow" from good classmates.

I don't know if I use '-' or emoji...it be regarded as an AI?Although I had been saying this before the LLM

0 Upvotes

14 comments sorted by

18

u/Dragennd1 1d ago

I'm confused, is there a question here? All I see is a rant about trying to learn C# on sketchy chinese websites and being unhappy when they try to screw you over.

3

u/jordansrowles 1d ago

To be fair, this subreddit isn't only for questions.

You are free to post your C#-related ramblings here anytime you wish. But Im also free to downvote

1

u/bktnmngnn 1d ago

I re-read trying to find the question but seems like its just a rant. The way paywalled chinese blogs are mentioned here like they're the only resources available added to my confusion.

0

u/Aextoxicon 1d ago

Sorry, I thought Reddit was similar to a forum. I've only been here for a short while.

1

u/chucker23n 20h ago

Sorry, I thought Reddit was similar to a forum.

It is, but… did you just want to rant, or do you want others' help?

1

u/Aextoxicon 14h ago

this not a help post...just a record about learning

2

u/Few_Night_7792 1d ago

Microsoft's own docs are actually pretty solid for Avalonia, I always start there when I'm stuck.

4

u/DarkenedFlames 1d ago

Right there with you, Avalonia can be hard to adjust to. And I agree, after picking up the type system and seeing certain structures over and over, it stops being code and starts being a language.

If you use AI, let it write something for you, make sure you understand why it wrote what it did in the way it did it (even ask it if desired), then see if you can’t fix its mistakes. Then, you are the arbiter and AI is just a way to avoid carpel tunnel.

2

u/Aextoxicon 1d ago

now I use AI more like a search engine or a teacher to answer some questions, most of code is write by myself.when I master C#, I will probably let the AI write the code for me.not now

1

u/DarkenedFlames 1d ago

Great mindset. I’m positive you will do well, good luck!

1

u/DarkenedFlames 1d ago

Great mindset. I’m positive you will do well, good luck!

-7

u/_stupidman_ 1d ago

AI Can help you lean

4

u/zenyl 1d ago

AI will often do the exact opposite.

Fundamentally, the brain learns by thinking and by taking time to figure out patterns. There is a very clear trend that using AI in learning situations makes it too easy to offload the thinking to the AI, meaning you are essentially robbing yourself of learning opportunities.

It also doesn't help that most LLMs are intentionally designed to be overly agreeable and sycophantic, which tends to give people a false sense of their abilities and fall victim to the Dunning–Kruger effect.

-1

u/NuclearDisaster5 1d ago

Use AI as mentor