Which Programming Languages Should I Learn to Start Building Small AI Projects?

August 18, 2026 3 answers
Asked by comet.tail.dust
I'm a C# programmer and want to start building something small and practical involving AI. I'm not sure whether I should learn another language, such as Python, or continue using C#. What would be the best path depending on whether I want to integrate an existing AI service or eventually build a simple model myself?

Answers

!tune the banjo+
Start with Python and build something small rather than trying to learn every AI-related technology first. If you move beyond calling an API and start creating models, spend time on linear algebra, probability, statistics, and basic machine learning. Python is mostly the convenient layer around the underlying math.

comet.tail.dust: That distinction helps. Iโ€™ll probably begin with a small API-based project in C# and learn Python and the fundamentals if I decide to train models later.

Reply to this answer
parallel parking woes
Python is the usual choice if you want to train or experiment with models yourself. It has the broadest selection of machine-learning tools and examples. You donโ€™t necessarily need to abandon C#, thoughโ€”you could use Python for the model work and C# for the rest of your application if that fits your project.
Reply to this answer
read-the-room
If youโ€™re calling an AI or language-model API from an application, you can absolutely stick with C#. The language usually doesnโ€™t matter much for that, and C# has solid libraries and integrations. For a small practical project, use the language you already know and focus on making the application useful.
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions