C#语法是什么意思 [英] C# syntax what does it mean

查看:99
本文介绍了C#语法是什么意思的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经看到了这一点,并想知道它究竟意味着什么。大多数教程和课程都跳过这个。例如:



IEnumerable< pie>





我明白了IEnumerable是类型但是什么是< pie>对于?

我看到这一直在使用,但我想知道的是什么意思?它似乎不是一种类型的情况。



我尝试过:



我有很多C#类,大多数只是像它的常识一样掩盖它。

I have seen this and wondered what it exactly means. Most tutorials and classes just jump over this. For example:

IEnumerable<pie>


I get that IEnumerable is the type but what is the <pie> for?
I see this used all the time, but what i want to know, what does it mean? It doesn't appear to be a type case.

What I have tried:

I've had a number of C# classes, most just gloss over it like it's common knowledge.

推荐答案

参见Generics - C#编程指南| Microsoft Docs [ ^ ]。



/ ravi
See Generics - C# Programming Guide | Microsoft Docs[^].

/ravi


这篇关于C#语法是什么意思的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆