Click here to Skip to main content
11,721,289 members (83,264 online)

Comments by jgauffin (Top 1 by date)

jgauffin at 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
Web04 | 2.8.150901.1 | Last Updated 1 Jan 1900
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid