This question already has an answer here:
ASSALAM U ALAIKUM!
Before 2 or 3 years when I was very young and didn't know programming and wanted to learn it so I told my Uncle and he pirated me some courses from which I learned and now I am getting real money from my hard work and projects but now I know that piracy is HARAM should I discontinue using the language(C#) and just learn another and spend other 2 - 3 years to get back to where I am now or something...
by the way I was 13 or 14 at the time. Now I mostly avoid pirating since I know it's HARAM but can I use my education or not?
Not everything I learned is from pirated, it's like a mix of both. Out of all the courses he downloaded I only learnt from 2 and all the rest from youtube, pluralsight etc... even the basics like if you can argue that the basics were from pirated so before C# I learned JAVA which is someone know are very similar so even the basics I learned from JAVA were also carried on to C#. If I have to spend another 2 to 3 years learning other language it's okay, at least I'll know my income for my projects would be HALAL. :) but I just need to be sure before I reinvent the wheel.
EDIT 2 I know that piracy is haram and I've switched to using non pirated courses now but I want to know what is done is forgiven or I should forget all that what I've got from those pirated content