Author Interview - Discuss .Net with CHARLES PETZOLD .NET with C #

zhaozj2021-02-08  220

Author Interview with Charles Petzold talks .NET with C #

Charles Petzold is a full-time writer. He has written procedures for Windows since 1985 and began working on Writing work on Windows programming. His Programming Windows (the Microsoft Press published the first version of the book in 1988, "now has to go to the fifth version) How to write an application for Windows for Windows. Petzold recently completed the book book for the Programming Windows with C # made by Microsoft Press. In this authoritative Windows series book, he teaches readers how to use Visual C # to create a dynamic user interface and graphic output of a single or distributed application. In this interview, Petzold co-shared his ideas for object-oriented programming ideas and his new concentrated interest on C #.

MS: Your new Programming Windows with Visual C # What is the difference between classic programming windows? CP: Programming Windows with c # is a new book. Five versions of Programming Windows have already demonstrated how to use the C language and pure Windows Application Programming Interface (API) to write a Windows program. In Programming Windows With C #, I use a new object-oriented programming language and a class name called Windows Forms, which is part of the new Microsoft .NET Framework. I initially started using Windows Forms and C # is in the summer of 2000, I like it almost just a little. Windows Forms is very similar to an ideal object-oriented Windows programming interface I often imagined, and C # is my favorite programming language. Although I mainly deal with the Beta version of this software, the process of writing this book is still a pleasant experience.

MS: Where is this position to put C and MFC? CP: I am sure they are still very strong. I think C and C will continue to use in many commercial applications, especially those who need to streamline code and high speed. Currently, the goal of Windows Forms is an enterprise-class application, but this may not continue too long. Once the programmer begins to try to use it, I think they will like it and use it more. As far as I personally said, I never liked MFC, I have never written a work about MFC. The MFC is just a thin package in the Windows API. Of course, it is this thin package to make it run quickly. But the Windows programming method of the true face-to-object has developed to this day, I think Windows Form finally reached this goal.

MS: Do you have any suggestions for our programmers? CP: To learn as much as possible. C, C and C # three are such a similar, and the programmer does not have reason to use them three. Learning Win32 API allows you to make a better MFC or Windows Forms programmer. Sometimes, our programmer will divide people using different languages ​​or programmed interfaces into different camps. I have been divided into C and API camps. This is really stupid. Language and programming interfaces are tools, the more tools in your toolbox, the stronger your programming ability.

MS: Do you like a .NET tattoo to match the tattoo on the Windows logo on the right arm? CP: When I was working in a Windows program for ten years, I tatted the Windows sign. So, you can ask me in 2010.

转载请注明原文地址:https://www.9cbs.com/read-1919.html

New Post(0)