本文介绍了如何使用字符串类型参数创建类并返回的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我如何在asp.net类中创建字符串类型参数并返回类型?
How can I create string type parameter and return type also sting in my asp.net class?
推荐答案
public static string MyClass(string param1)
{
//body of class
return param1;
}
希望对您有帮助,
如果有帮助,请投票5,
谢谢
hope it helps,
please vote 5 if it helps you,
thanks
这篇关于如何使用字符串类型参数创建类并返回的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!