资源列表
[C#编程] public class A
说明:创建一个类A,在A中编写一个可以被重写的带int类型参数的方法MyMethod,并在该方法中输出传递的整型值加10后的结果。 再创建一个类B,使其继承自类A,然后重写A中的MyMethod方法,将A中接收的整型值加50,并输出结果。 在Main方法中分别创建类A和类B的对象,并分别调用MyMethod方法(Create a class A, write a MyMethod that can be rewritten with int type parameter in A, and outpu<kk大人 > 在 2025-06-17 上传 | 大小:2kb | 下载:0
[C#编程] 猜单词
说明:一个简单的智力游戏,游戏者每次只能猜一个字母,如果游戏者猜的字母在单词中,单词中所有的该字母将被视为已猜出,例如:如果原单词是apple,游戏者猜出了p,则程序应显示当前猜出的残缺单词为-pp--;设置选择时间限制或猜错次数限制,超过限制则游戏失败。(In a simple puzzle game, the player can guess only one letter at a time. If the player guesses the letter in the word, all t<Gre_GL > 在 2025-06-17 上传 | 大小:2kb | 下载:0
[C#编程] CheckButton
说明:一个自制的美化checkbutton控件,可以改变选框渐变颜色(A homemade beautified checkbutton control that can change the color of the box to change color)<flyking2 > 在 2025-06-17 上传 | 大小:2kb | 下载:0