I used to be a VB developer and I remember myself creating a separate class file each time I wanted to define a class but I started coding in ASP.net with c# and noticed that I can define classes in aspx.cs file and on the other hand adding a separate class file option is also open for me . I was wondering what is difference between both?
and what is a better practice?
...
Go to the complete details ...