Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ public static void PrintPattern( String myCulture ) {
}

/*
This code produces the following output. The question marks take the place of native script characters.
This code produces the following output. Note that the exact output format depends on the OS, the OS version, and the native globalization library used by the OS.

CULTURE PROPERTY VALUE
en-US dddd, MMMM dd, yyyy h:mm:ss tt
ja-JP yyyy'年'M'月'd'日' H:mm:ss
en-US dddd, MMMM d, yyyy h:mm:ss tt
ja-JP yyyy年M月d日dddd H:mm:ss
fr-FR dddd d MMMM yyyy HH:mm:ss

*/
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ public static void PrintPattern( String myCulture ) {
}

/*
This code produces the following output:
This code produces the following output. Note that the exact output format depends on the OS, the OS version, and the native globalization library used by the OS.

CULTURE PROPERTY VALUE
en-US dddd, MMMM d, yyyy
ja-JP yyyy'年'M'月'd'日'
ja-JP yyyy年M月d日dddd
fr-FR dddd d MMMM yyyy

*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System;
using System.Globalization;

public class Example
public class Example1
{
public static void Main()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System.Globalization;
using System.IO;

public class Example
public class Example2
{
public static void Main()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ public static void PrintPattern( String myCulture ) {
}

/*
This code produces the following output. The question marks take the place of native script characters.
This code produces the following output. Note that the exact output format depends on the OS, the OS version, and the native globalization library used by the OS.

CULTURE PROPERTY VALUE
en-US MMMM dd
ja-JP M'?'d'?'
en-US MMMM d
ja-JP M月d日
fr-FR d MMMM

*/
Expand Down