AUTOCROSSCLUBGEFFEN.NL Library > C > Robert W. Powell, Richard L. Weeks's C# and the .NET Framework: The C++ Perspective PDF

Robert W. Powell, Richard L. Weeks's C# and the .NET Framework: The C++ Perspective PDF

By Robert W. Powell, Richard L. Weeks

ISBN-10: 067232153X

ISBN-13: 9780672321535

ISBN-10: 0768658152

ISBN-13: 9780768658156

This booklet covers issues starting from the overall ideas of .NET during the C# language and the way its utilized in ASP.NET and home windows kinds. Written via programmers for programmers, the content material of the ebook is meant to get readers over the hump of the .NET studying curve and supply good functional wisdom that would make builders efficient from day one.

Show description

Read or Download C# and the .NET Framework: The C++ Perspective PDF

Similar c# books

C# Threading Handbook - download pdf or read online

This e-book addresses the basic devices of home windows and . internet programming - threads. a robust figuring out of the function threads play in application execution, how a number of threads can engage that allows you to make effective courses, and the pitfalls to watch out for while constructing multithreaded functions, are all center to a developer's skill to strengthen powerful C# courses.

New PDF release: C# 24-Hour Trainer, 2nd Edition

C# 24-Hour coach, second version is your speedy and simple advisor to programming in C#, no matter if you don't have any programming adventure in any respect. up to date to align with the most recent C# commonplace, this e-book is your accomplished beginner's consultant, with every one lesson supplemented via a video, for over ten hours of video education.

Additional info for C# and the .NET Framework: The C++ Perspective

Sample text

Adding properties to Garbage Collected C++ classes is accomplished by the use of the __property keyword. 14 shows a simple GC class with properties. { pP->bogus = 150; Console::WriteLine(pP); int x=pP->x; Console::WriteLine("Read x, Return int y=pP->y; Console::WriteLine("Read y. cpp program shows properties that directly access data members within a class and properties that perform some computation that is not necessarily related to class attributes at all. The program also shows the technique of creating read-only or write-only properties.

Dll> using namespace System; void StringCompare(String *a, String *b) { Console::WriteLine("a=\ "{ 0} \ " b=\ "{ 1} \ " same string? { 2} \ n", a,b,a==b ? NET Framework StringCompare(a,b);} In addition to the String being available as a native type, there are some classes specifically designed to manipulate strings. The StringBuilder class is available from the System::Text namespace, and a stream writer for strings called StringWriter is available in the System::IO namespace. The StringBuilder class provides a set of string manipulation features such as appending characters to a string or snipping a substring from the middle of a string.

9 shows a very simple DLL that has one class and one method. "); } } } You don't have to be a C# expert to see how this works. Note that the class is declared with the public modifier. This will allow it and its methods to be exported from the library. cs The /t: command-line option tells the compiler to create a library DLL. You should see no errors or warnings. dll This will bring up the Intermediate Language Disassembler (ILDASM), which will enable you to examine the DLL that you've just created.

Download PDF sample

C# and the .NET Framework: The C++ Perspective by Robert W. Powell, Richard L. Weeks

by David

Rated 4.06 of 5 – based on 44 votes
Posted in C