Click here to Skip to main content
12,550,735 members (31,520 online)

Comments by jgauffin (Top 1 by date)

jgauffin 14-Jun-11 2:37am View
The problem is not the "var" keyword, but that you have named your method "GetData". What *kind* of data is returned? GetUsers, GetNewEmails etc are better alternatives.

As for the return value, the type is not really important. We got intellisense that can tell us how to handle the return value.

Advertise | Privacy | Mobile
Web01 | 2.8.161021.1 | Last Updated 1 Jan 1900
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid