Is there any difference between scripts written in unity (mac) and unity (windows) ?

I watched the roll a ball tutorial. I copied the same script shown in the tutorial. I am using windows, and the tutorial was based on mac. My script shows some errors. Can you help me?

No, there is no diference when writing that kind of script. What is the error you are getting?

No but there is a difference in C# scripts and Java, you can tell the difference between the two by their syntax. Also code becomes deprecated so depending on how old the tutorial is, the syntax used might also be deprecated.