什么是通过方法签名传递的实体类型? [英] What is type of entity which is passed by method signature?

查看:72
本文介绍了什么是通过方法签名传递的实体类型?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个维护实体类的方法名称



I have a method name which maintained the entity class

public IList<tablename> PutStudent(STUDENT_ENTITY objStudent)
{
//---
}





我的问题是这里方法返回类型是IList

方法修饰符是公共然后什么是修饰符PeutStudent方法的学生班级

是Intrnal还是私人

请告诉我。



已添加代码块 - OriginalGriff [/ edit]



my question is here method return type is IList
method modifier is public then what is modifier of student class which is in PeutStudent method
is it Intrnal or private
please tell me.

[edit]Code block added - OriginalGriff[/edit]

推荐答案

类的修饰符位于类声明中(参见修饰符 [ ^ ])。你没有在这里发布课程声明。
The modifier of the class is in the class declaration (see "Modifiers" at MSDN[^]). You didn't post the class declaration here.


这篇关于什么是通过方法签名传递的实体类型?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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