Practical Guidelines and Best Practices for Microsoft Visual Basic and Visual C# Developers by Francesco Balena
Get the real-world coding guidelines, expert tips, and rock-solid guidance you need to take your development expertise to the next level. Drawing on their extensive programming and consulting experience, respected developers Francesco Balena and Giuseppe Dimauro share more than 700 programming best practices for Visual Basic and Visual C#. For each rule the authors explain the purpose, illuminate their whys and why-nots, highlight exceptions and alternatives, and provide real-world code samples.
Use the practical, reliable techniques in this book to:
- Take full advantage of the Microsoft .NET Framework-and write reusable, robust, and security-enhanced code
- Build software solutions that are both efficient and scalable
- Implement rational and easy-to-use class libraries and object hierarchies
- Adopt coherent coding styles and techniques to increase team productivity
- Extend your programming expertise, problem-solving skills, and creativity!
Find best practices for working with:
- assemblies
- resources and localization
- types and structures
- fields
- properties
- methods *constructors
- events
- interfaces
- exception handling
- custom attributes
- numbers and dates
- strings
- array and collection types
- memory usage and object finalization
- Windows Forms applications
- Microsoft ADO.NET
- Microsoft ASP.NET Web Forms and Web services applications
- threading and synchronization
- PInvoke and COM Interop
- serviced components
- remoting
- security considerations
- and more
Get code samples for Visual Basic and C# on the Web: For information on code samples and system requirements, please see Appendix C.