what is the difference between the dlink DL524 and linksys WRT54G router?

i know that linksys is router with 4 port switch and access point, what about dlink?

i had used linksys wireless router before and can share printer file and internet, what about dlink, can it do the same thing too?