1、此文档是毕业设计外文翻译成品( 含英文原文+中文翻译) ,无需调整复杂的格 式!下载之后直接可用,方便快捷!本文价格不贵,也就几十块钱!一辈子也就 一次的事! 外文标题:Advanced C# Language Features 外文作者:Andrew Troelsen,Philip Japikse 文献出处: C# 6.0 and the .NET 4.6 Framework,2018 (如觉得年份太老,可改 为近 2 年,毕竟很多毕业生都这样做) 英文 3930 单词,23927 字符(字符就是印刷符),中文 6501 汉字。 Advanced C# Language Features I
2、n this chapter, youll deepen your understanding of the C# programming language by examining a number of more advanced topics. To begin, youll learn how to implement and use an indexer method. This C# mechanism enables you to build custom types that provide access to internal subitems using an array-
3、like syntax. After you learn how to build an indexer method, youll see how to overload various operators (+, -, , and so forth) and how to create custom explicit and implicit conversion routines for your types (and youll learn why you might want to do this). Next, youll examine topics that are parti
4、cularly useful when working with LINQ-centric APIs (though you can use them outside of the context of LINQ) specifically extension methods and anonymous types. To wrap things up, youll learn how to create an “unsafe” code context to directly manipulate unmanaged pointers. While it is certainly true that using pointers in C# applications is a fairly infrequent activity, understanding how to do so can be helpful in some circumstances that involve complex interoperability scenarios. Understa