MembershipUser userToCreate = new MembershipUser()
, Password ="blabla"
//All the relevant stuff plus some validation...
Duncan Edwards Jones wrote:The pass-in-the-parameters create pattern is the best way to create something where some properties can only be meaningfully set in construction.
Paul M Watt wrote:Practice makes perfect.
C-P-User-3 wrote:Is anybody here already working with them ? Good ? Bad ? Ugly ? Smart ? Stupid ? Will I get rich in one week ?
Quote:Is it intentional ?
phil.o wrote:How is it important?
General News Suggestion Question Bug Answer Joke Praise Rant Admin
Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.