This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // CS 7 | |
| /* | |
| 1. out variables | |
| 2. Tuples | |
| 3. Discards | |
| 4. Pattern Matching | |
| 5. ref locals and returns | |
| 6. Local Functions | |
| 7. Expression-bodied members | |
| 8. Throw expressions |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // CS 7.1 | |
| /* | |
| 1. async Main method | |
| // The entry point for an application can have the async modifier. | |
| 2. default literal expressions | |
| // You can use default literal expressions in default value expressions when the target type can be inferred. | |
| 3. Inferred tuple element names | |
| // The names of tuple elements can be inferred from tuple initialization in many cases. | |
| // Finally, the compiler has two options /refout and /refonly that control reference assembly generation. | |
| 4. Reference assembly generation |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // CS 8 | |
| /* | |
| 1. Readonly members | |
| 2. Default interface methods | |
| 3. Pattern matching enhancements: | |
| // Switch expressions | |
| // Property patterns | |
| // Tuple patterns | |
| // Positional patterns | |
| 4. Using declarations |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // CS 9 | |
| /* | |
| 1. Records | |
| 2. Init only setters | |
| 3. Top-level statements | |
| 4. Pattern matching enhancements | |
| 5. Native sized integers | |
| 6. Function pointers | |
| 7. Suppress emitting localsinit flag | |
| 8. Target-typed new expressions |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # (localdb)\MSSQLLocalDB # (localdb)\SampleInstance | |
| # Windows Authentication | |
| --C:\Users\rajanis\AppData\Local\Microsoft\Microsoft SQL Server Local DB\Instances\SampleInstance | |
| sqllocaldb create "SampleInstance" | |
| sqllocaldb stop "SampleInstance" | |
| sqllocaldb delete "SampleInstance" | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --SQL Server 2019-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
| --apply------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| USE [master]; | |
| GO | |
| --IF EXISTS(SELECT name FROM sys.databases WHERE name = N'sampledb') | |
| IF DB_ID (N'sampledb') IS NOT NULL | |
| DROP DATABASE [sampledb]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # PostgreSQL 13.1-1 | |
| PostgreSQL data directory: | |
| C:\Users\rajanis\Downloads\PostgreSQL\postgresql-13.1-1-windows-x64-binaries\pgsql\bin\data | |
| PostgreSQL Port: | |
| 5432 | |
| /* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # MySQL-15.1 # MariaDB-10.4.14 | |
| $ winpty mysqladmin --version | |
| $ winpty mysqlsh --version | |
| $ winpty mysql --version | |
| > mysqladmin --version | |
| > mysqlsh --version | |
| > winpty mysql --version |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Java 9 | |
| /* | |
| 1. Private Interface Methods | |
| 2. Try-With-Resources on Final Variables | |
| 3. Diamond Operator for Anonymous Inner Classes | |
| 4. SafeVarargs Annotation on Private Methods | |
| 5. Collections Factory Methods | |
| 6. Optional Methods | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Java 10 | |
| /* | |
| 1. Local-Variable Type Inference | |
| 2. Time-Based Release Versioning | |
| 3. Unmodifiable Collections | |
| 4. Optional Methods | |
| */ | |
| import static java.lang.System.out; | |
| import java.io.BufferedReader; |