委托程序查找圆和正方形的区域 [英] delegate program to find area of circle and square

查看:68
本文介绍了委托程序查找圆和正方形的区域的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望代表程序查找圆,矩形,球体的面积和周长,
rhombus,square,cylinder

i want delegates program to find area and perimeter of circle ,rectangle ,sphere,
rhombus ,square,cylinder

推荐答案

我们不做作业:这是有原因的.在这里,您可以考虑自己被告知的内容,并尝试理解它.也可以在那里帮助您的导师识别您的弱点,并将更多的注意力放在补救措施上.

自己尝试,您可能会发现它并不像您想的那样困难!
We do not do your homework: it is set for a reason. It is there so that you think about what you have been told, and try to understand it. It is also there so that your tutor can identify areas where you are weak, and focus more attention on remedial action.

Try it yourself, you may find it is not as difficult as you think!


在本文中使用委托引用两个数字的加法示例,
将逻辑应用于不同的公式
C#代表:分步进行 [
Refer example for addition of two numbers using delegate in this article,
apply your logic in it for different formulas
C# Delegates: Step by Step[^]

Happy Coding!
:)


这篇关于委托程序查找圆和正方形的区域的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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