随笔分类 -  C# 从入门到入坟

!!!
4.21
摘要:##测试 class Animal { public virtual void shout() { Console.WriteLine("动物叫!"); } } class Dog : Animal { public override void shout() { base.shout(); Con 阅读全文
posted @ 2021-04-21 11:31 羲和i 阅读(126) 评论(0) 推荐(0)
3.31
摘要:冒泡排序: namespace BubbleSorter { public class BubbleSorter { static void Main(string[] args) { int[] arr = new int[] {50,6,45,94,78}; BubbleSorter sh = 阅读全文
posted @ 2021-03-31 11:32 羲和i 阅读(48) 评论(0) 推荐(0)
3.17
摘要:namespace DBR { class Program { static void Main(string[] args) { /* * byte b = 3; b =(byte)(b+4); Console.WriteLine("b="+b); Console.ReadKey(); /* in 阅读全文
posted @ 2021-03-17 11:37 羲和i 阅读(17) 评论(0) 推荐(0)
C#1
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Hello_World { class Program { static void Main(string[ 阅读全文
posted @ 2021-03-10 11:15 羲和i 阅读(80) 评论(0) 推荐(0)