Properties and Indexers in C#
2006-04-01 22:16
330 查看
Properties and Indexers in C#
Properties are known as smart fields and enable access to the fields of a class. Indexers are also called smart arrays in C# and can be used to use an object as an array. This article discusses both of these concepts with simple code examples.
Properties are known as smart fields and enable access to the fields of a class. Indexers are also called smart arrays in C# and can be used to use an object as an array. This article discusses both of these concepts with simple code examples.
相关文章推荐
- Processing Global Mouse and Keyboard Hooks in C#
- SQL Server Database Backup and Restore in C#
- 2. C# - Learning About Built-In Types and Variables
- 依旧是转载来的Thread and Sync In C# (C#中的线程与同步)
- [优秀英文技术文章转载]Table Value Parameters in SQL Server 2008 and .NET (C#)
- Using Indexers in C#
- New Features in C# 3.0, 4.0 and 5.0 (英文差的免入)
- Wrox Professional ASP.NET 4 in C# and VB
- Add a file to a Document Library and update metadata properties in a single method添加文档的方法
- Set Font Properties On Mouse Hover Of Push Button And Text Items At Run time In Oracle Forms
- Processing Global Mouse and Keyboard Hooks in C#
- Covariance and Contravariance in C# Part Seven: Why Do We Need A Syntax At All?
- String.Format in Java and C#
- Convert a string to a byte array and vica-versa in C#
- The different between Char in C#.Net and in C++.Net(MFC)
- Embedding and Using Resources in C#
- Exception handling in X++ and C#
- Reading and Writing CSV Files in C#
- Silverlight and C# in Orcas Beta 1(转载)
- Processing Global Mouse and Keyboard Hooks in C#