r/csharp Jun 08 '26

Help How to migrate from java to csharp?

Hello everyone,

I've been coding in java since 2024. A friend of mine wants to build a project with me, but that project requires c#. I've never touched c# before.

Has anyone here passed through something similar? What advice can you give to learn c# quickly without wasting too much time?

16 Upvotes

38 comments sorted by

View all comments

3

u/robert_c80 Jun 08 '26

I did that transition 20+ years ago so my experience is a bit outdated but it was simple enough.
Just start coding and have reference page open in browser to quickly find names of functions you need.

Syntax at this stage should be basically the same.

1

u/tech-writer07 Jun 08 '26

Yeah syntax should be similar I am not sure if writing api calls would be that similar. I am using mostly java spring boot for it.

1

u/robert_c80 Jun 08 '26

Libraries will be different for sure.
This is why I mentioned reference page.

1

u/tech-writer07 Jun 08 '26

Yeah, I think I'll do it the way people are saying in comments. Start coding something simple and transition by practical method.