I'm a C# programmer and want to start building something small and practical with AI. Should I learn another programming language, such as Python, or can I continue using C#? I'm mainly interested in either integrating an existing AI model into an app or experimenting with a simple model of my own.
4 Answers
A practical approach is to keep using C# for your application and learn enough Python to follow tutorials and use machine-learning libraries. You don’t need to abandon C#—the two languages can work together depending on how you deploy the model.
For training or experimenting with your own small models, Python is the usual starting point. It has the most mature ecosystem for machine learning and data work, including libraries that handle the heavy lifting while your code coordinates the data and model.
If you want to build models rather than just connect to an existing one, plan to study some linear algebra, probability, and statistics too. Python is mostly the tool around the model; understanding the underlying math becomes important as projects get more advanced.
If you’re calling an AI service through an API, you can absolutely stick with C#. The language usually doesn’t matter much, since most providers offer HTTP or official SDK support. C# is also a good choice for building the rest of your application.

That makes sense. I’m aiming for a small project first, but I’ll keep the math fundamentals in mind as I go.