Don’t Instantiate Then Assign(kodefuguru.com)
submitted by
KodefuGuru(2818) 2 years, 11 months ago
Here’s an example of some bizarre code I’ve seen recently. I’ve changed the variable names, but this is what the developer was doing.
Customer customer = new Customer();
customer = customers[response.CustomerKey];
|category: C#
|Views: 26
tags:
C# another
Everyones tags:
Your Tags: