07 2022 档案
摘要:<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>pagination-nick</title> <style> button{ padding:5px; margin:5px; } .active-nick{ color:red
阅读全文
摘要:C#中的 接口方法 class Program { static void Main(string[] args) { // 接口 // 一种规则,约定能够做什么 // 当抽象类中的方法都是抽象方法,可以使用接口来变现 // interface Car car = new Car(); car.PP
阅读全文
摘要:关于c#的抽象类 抽象方法,是没有方法的 抽象类,是不能被实例化的 抽象方法在继承子类必须重写 关键字:abstrat class Program { static void Main(string[] args) { Tuxing tuXing = new Tuxing(); tuXing.Cha
阅读全文
摘要:关于C#的虚方法 使用visual关键字的时候 ,需使用override关键字方法进行重写。 首先是创建项目,在添加项目的时候使用控制台应用(.Net Framework) 选择.Net Framework 4.5的版本 在Program.cs class Program { static void
阅读全文
摘要:ref 不加上ref 在形参和实参前加上 ref using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace
阅读全文
摘要:HTML页面 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>使用jquery读取json格式文件</title> </head> <script src="https://apps.bdimg.com/libs/jquery/
阅读全文