创建测试项目以返回bool方法 [英] create test project for returning bool method
本文介绍了创建测试项目以返回bool方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要创建测试项目,因为我需要编写一个将返回布尔值的方法...
i need to create test project ,in that i need to write for a method which will return boolean...
推荐答案
^ ]
kishore.永远记得创建方法时,请始终在C#中遵循此语法.
kishore. always remember when you create a method always follow this syntax in C#.
[ReturnType] <functionname>([DataType] [VariableName])</functionname>
打开Visual Studio->文件->新项目-> ASP.NET Web应用程序.
添加具有返回类型bool的函数.
这真的是您自己不能做的事情吗?如果您在学校或大学学习此课程,那里的人没有教给您任何东西吗?
Open Visual-Studio -> File -> New Project -> ASP.NET Web Application.
Add a function with return type bool.
Is this really something you cant do on your own? If you''re learning this at school or college doesn''t anybody there teach you anything?
这篇关于创建测试项目以返回bool方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文