Yes, you can learn C# with Unity and vice-versa. It is a great synergy between these two technologies.