... need to feel comfortable choosing you: Start wit h the cust omer's needs. Forget what you do. Customers don't care about what you do; they care about what they receive: solutions ... and benefits. So what do potential customers want to know? At a basic level, first-time visitors want to know you own a real business with real capabilities. What questions do customers typically ... make them up. Describe what your business hopes to achieve and how you plan to achieve it. Give me the chance to decide if I want to jump on board with you. Never try to be something you're...
Ngày tải lên: 27/01/2014, 20:58
... of your image, try a print and com- pare it to what you see on your display. If it’s still too dark, your display may still be too bright. Continue to adjust until your prints are close to what ... Flickr, that most photographers are aware of. It’s nice to have your own website though, and even if you know next to nothing about web design it’s easy to start your own photo blog using services ... determined by what you are photographing, but there are also several guidelines you can take into consid- eration and use to create a more powerful image. Here are a few of the things I feel are some...
Ngày tải lên: 24/03/2014, 21:42
Effective C#50 Specific Ways to Improve Your C# Second Edition phần 3 docx
... are, stop it. Veteran C++ programmers would factor the common algorithms into a private helper method. Stop that, too. When you find that multiple constructors contain the same logic, fac- tor ... fea- tures that are part of that heritage. It’s natural to reach for the most famil- iar tools at your disposal. However, those tools might not be the best tools. When you find yourself writing ... conversion operators are based on the compile-time type of an object, not the runtime type of an object. Users of your type might need to perform multiple casts to invoke the conversion operators, a...
Ngày tải lên: 12/08/2014, 16:21
Effective C#50 Specific Ways to Improve Your C# Second Edition phần 4 pdf
... types are not polymorphic. They are better suited to storing the data that your application manipu- lates. Reference types can be polymorphic and should be used to define the behavior of your ... fragments the heap and slows you down. If you are creat- ing types that are meant to store data values, value types are the way to go. The decision to make a value type or a reference type is an ... drains on your program by creating an excessive number of reference objects that are local to your methods. So don’t overwork the Garbage Collector. You can follow some simple techniques to minimize...
Ngày tải lên: 12/08/2014, 16:21
Effective C#50 Specific Ways to Improve Your C# Second Edition phần 6 pptx
... RevenueComparer : IComparer<Customer> { #region IComparer<Customer> Members int IComparer<Customer>.Compare(Customer left, Customer right) { return left.revenue.CompareTo( right.revenue); } #endregion ... Relational Operators. public static bool operator <(Customer left, Customer right) { return left.CompareTo(right) < 0; } public static bool operator <=(Customer left, Customer right) ... IComparable<Customer> Members public int CompareTo(Customer other) { return name.CompareTo(other.name); } #endregion #region IComparable Members int IComparable.CompareTo(object obj)...
Ngày tải lên: 12/08/2014, 16:21
Effective C#50 Specific Ways to Improve Your C# Second Edition phần 7 ppt
... elided. } } This is a problem. Your base class snuck a method underneath your class’s naming scope. There are two ways to fix this. You could change that name of your NormalizeValues method. Note ... resolution works to be able to use your API. Instead, don’t overload methods declared in a base class. It doesn’t provide any value, and it will only lead to confusion among your users. Item ... to all your loops. It’s not, but PLINQ does make it much easier than it was to leverage multiple cores in your pro- grams and still have programs that are correct. It’s by no means trivial to...
Ngày tải lên: 12/08/2014, 16:21
Effective C#50 Specific Ways to Improve Your C# Second Edition phần 8 pps
... property set. The semantics are very easy to implement. Even with this very sim- ple behavior, it was rather difficult to get right. Expression trees are hard to debug. They are hard to get right. More ... much work to do. Implementing dynamic behavior can be a great way to approach some of your programming challenges. When you look at creating dynamic types, your first choice should be to derive ... operator MyType(String aString) { return new MyType { StringMember = aString }; } } See Item 28 for why conversion operators are bad; however, a user-defined conversion operator is key to this...
Ngày tải lên: 12/08/2014, 16:21
Effective C#50 Specific Ways to Improve Your C# 2nd phần 3 pps
Ngày tải lên: 12/08/2014, 20:22
Effective C#50 Specific Ways to Improve Your C# 2nd phần 4 pot
Ngày tải lên: 12/08/2014, 20:22
Effective C#50 Specific Ways to Improve Your C# 2nd phần 5 ppt
Ngày tải lên: 12/08/2014, 20:22
Effective C#50 Specific Ways to Improve Your C# 2nd phần 6 docx
Ngày tải lên: 12/08/2014, 20:22
Effective C#50 Specific Ways to Improve Your C# 2nd phần 7 pps
Ngày tải lên: 12/08/2014, 20:22
Effective C#50 Specific Ways to Improve Your C# 2nd phần 9 pdf
Ngày tải lên: 12/08/2014, 20:22