To start with the data types, in PHP you don’t need to declare the type of data.
You can just write like this :
$number = 1; $name = "Your Name"; etc.
But in C# as it is strongly typed data, you have to declare the type of data. Like : for integer you need to write :
int number = 1;etc….
string name = "Your Name";
Now everything has its pros and cons. People from strong PHP background will argue that this is absolutely simple to remember. Moreover You don’t need to convert your data from string to integer when you accept data from an user.