Click here to Skip to main content
13,146,710 members (65,803 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 |
Web02 | 2.8.170915.1 | Last Updated 1 Jan 1900
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid