Skip to main content

Intermediate Language: Digging Deeper

  • Chapter
Expert .NET 1.1 Programming
  • 315 Accesses

Abstract

In this chapter, I’ll carry on where I left off at the end of Chapter 1. In Chapter 1 you learned many of the principles on which IL is based: IL assembly syntax, the concept of the evaluation stack, and how to code a simple procedural program in IL. However, I haven’t yet introduced object-oriented programming in IL. In the previous chapter, everything you did was essentially procedural. You did see how to define classes, but in the examples in Chapter 1, I was generally careful to use only static methods. This chapter will rectify that by discussing how to define and use types in IL, including defining instance fields, methods, properties, and constructors. I’ll also show you how to code some more advanced .NET constructs such as delegates—and the chapter will end by applying what you’ve learned and then examining and compare the IL emitted by the C#, VB, and C++ compilers.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2004 Simon Robinson

About this chapter

Cite this chapter

Robinson, S. (2004). Intermediate Language: Digging Deeper. In: Expert .NET 1.1 Programming. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-0726-9_2

Download citation

  • DOI: https://doi.org/10.1007/978-1-4302-0726-9_2

  • Publisher Name: Apress, Berkeley, CA

  • Print ISBN: 978-1-59059-222-9

  • Online ISBN: 978-1-4302-0726-9

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics