hello_log_lynndai 2.0.0
dotnet add package hello_log_lynndai --version 2.0.0
NuGet\Install-Package hello_log_lynndai -Version 2.0.0
<PackageReference Include="hello_log_lynndai" Version="2.0.0" />
paket add hello_log_lynndai --version 2.0.0
#r "nuget: hello_log_lynndai, 2.0.0"
// Install hello_log_lynndai as a Cake Addin #addin nuget:?package=hello_log_lynndai&version=2.0.0 // Install hello_log_lynndai as a Cake Tool #tool nuget:?package=hello_log_lynndai&version=2.0.0
Markdown Features Demonstration
You can create line breaks in two ways.
Soft line break
Hardline break
Soft line breaks can be created by adding two spaces at the end of the line.
This way markdown will render each line to be separate lines.
Hardline breaks can be created by inserting an empty line between each line.
Column 1 | Column 2 |
---|---|
Cell 1, Row 1 | Cell 2, Row 1 |
Cell 1, Row 2 | Cell 1, Row 2 |
Headings
H1
H2
H3
H4
H5
H6
Emphasis
- Italic text
- Bold text
- Bold and Italic text
Strikethroughtext
Lists
Unordered List
- Item 1
- Sub-item 1
- Sub-item 2
- Item 2
- Item 3
Ordered List
- First item
- Second item
- Sub-item 1
- Sub-item 2
- Third item
Links
- Google — This is an external link.
- Relative Link — This is a relative link.
Images
This is an image of the Markdown logo.
Blockquote
This is a blockquote. Multiple lines are supported too.
Code
Inline Code
Use console.log('Hello, World!');
to print to the console.
Code Block
function greet() {
console.log('Hello, World!');
}
Json.NET
Json.NET is a popular high-performance JSON framework for .NET
Serialize JSON
Product product = new Product();
product.Name = "Apple";
product.Expiry = new DateTime(2008, 12, 28);
product.Sizes = new string[] { "Small" };
string json = JsonConvert.SerializeObject(product);
// {
// "Name": "Apple",
// "Expiry": "2008-12-28T00:00:00",
// "Sizes": [
// "Small"
// ]
// }
Deserialize JSON
string json = @"{
'Name': 'Bad Boys',
'ReleaseDate': '1995-4-7T00:00:00',
'Genres': [
'Action',
'Comedy'
]
}";
Movie m = JsonConvert.DeserializeObject<Movie>(json);
string name = m.Name;
// Bad Boys
LINQ to JSON
JArray array = new JArray();
array.Add("Manual text");
array.Add(new DateTime(2000, 5, 23));
JObject o = new JObject();
o["MyArray"] = array;
string json = o.ToString();
// {
// "MyArray": [
// "Manual text",
// "2000-05-23T00:00:00"
// ]
// }
Links
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.1
- SampleDependency (>= 1.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated | |
---|---|---|---|
2.0.0 | 1 | 4/29/2020 |
log message