上一页 1 ··· 5 6 7 8 9
摘要: 什么是Rust? Rust是一门系统编程语言,专注于安全 ,尤其是并发安全,支持函数式和命令式以及泛型等编程范式的多范式语言。 Rust在语法上和C++类似 ,但是设计者想要在保证性能的同时提供更好的内存安全。 Rust最初是由Mozilla研究院的Graydon Hoare设计创造,然后在Dave 阅读全文
posted @ 2022-12-16 20:27 不爱菠萝的菠萝君 阅读(1160) 评论(0) 推荐(0)
摘要: 一、创建数据库 学生表 create database test; create table student( sNo varchar(50) primary key, sName varchar(50) not null ) 补充:数据的增删改查相关操作 insert into student v 阅读全文
posted @ 2022-12-06 20:00 不爱菠萝的菠萝君 阅读(89) 评论(0) 推荐(0)
摘要: 什么是Shell? Shell 是指一种应用程序,这个应用程序提供了一个界面,用户通过这个界面访问操作系统内核的服务。 Shell 脚本(shell script),是一种为 shell 编写的脚本程序。 Linux 的 Shell 种类众多,常见的有: Bourne Shell(/usr/bin/ 阅读全文
posted @ 2022-12-01 20:08 不爱菠萝的菠萝君 阅读(56) 评论(0) 推荐(0)
摘要: 4.5 try语句和异常 4.5.1 try、catch和finally语句 class Test{ static int Calc(int x) => return 10/x; static void Main(){ try{ int y=Calc(0); Console.WriteLine(y) 阅读全文
posted @ 2022-11-14 15:23 不爱菠萝的菠萝君 阅读(30) 评论(0) 推荐(0)
摘要: 4.1 委托 什么是委托? 委托是一种知道调用方法的对象。 delegate int Dele(int x); class Test{ static int Square(int x)=>x*x; static void Main(){ Dele d=Square; int result=d(4); 阅读全文
posted @ 2022-11-13 20:03 不爱菠萝的菠萝君 阅读(57) 评论(0) 推荐(0)
摘要: 3.1 类 class ClassName{ } 3.1.1 字段 字段是类或结构体中的变量成员。 static public internal private protected new (继承修饰符) unsafe readonly volatile (线程访问修饰符) 强迫使用的字段的读写操作 阅读全文
posted @ 2022-11-11 16:16 不爱菠萝的菠萝君 阅读(77) 评论(0) 推荐(0)
摘要: 2.1 第一个C#程序 using System; // 导入命名空间 namespace Test { // 命名空间 internal class Program { // 类声明 static void Main(string[] args) { // 方法声明 Console.WriteLi 阅读全文
posted @ 2022-11-10 21:44 不爱菠萝的菠萝君 阅读(88) 评论(0) 推荐(0)
摘要: 1.1 面向对象 封装、继承和多态。 类和接口 函数成员:属性、方法和事件 委托、纯函数模式(匿名函数、Lambda表达式) 1.2 类型安全性 C#是类型安全的语言,也是强类型语言。 (1)类型的实例只能通过它们定义的协议进行交互 (2)静态类型化,编译时安全性检查 1.3 内存管理 C#依靠运行 阅读全文
posted @ 2022-11-10 21:26 不爱菠萝的菠萝君 阅读(73) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9