Skip to content

Commit

Permalink
case
Browse files Browse the repository at this point in the history
  • Loading branch information
Yun-Ting committed Oct 12, 2021
1 parent 553f8b4 commit 5289cb7
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ConsoleApp2/ConsoleApp2.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net5.0</TargetFramework>
</PropertyGroup>

</Project>
29 changes: 29 additions & 0 deletions ConsoleApp2/Program.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
using System;
using System.Linq;

namespace ConsoleApp2
{
class Program
{

static void Main(string[] args)
{
Random random = new Random();
int number = 100;
string[] testStringArr = new string[number];
const string chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";

for (int i = 0; i < number; ++i)
{
var curStr = new string(Enumerable.Repeat(chars, 10)
.Select(s => s[random.Next(s.Length)]).ToArray());
testStringArr[i] = curStr;
}

for (int i = 0; i < testStringArr.Length; ++i)
{
Console.WriteLine(testStringArr[i]);
}
}
}
}
6 changes: 6 additions & 0 deletions OpenTelemetry.sln
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenTelemetry.Exporter.Prom
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenTelemetry.Exporter.OpenTelemetryProtocol.Logs", "src\OpenTelemetry.Exporter.OpenTelemetryProtocol.Logs\OpenTelemetry.Exporter.OpenTelemetryProtocol.Logs.csproj", "{6E1A5FA3-E024-4972-9EDC-11E36C5A0D6F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApp2", "ConsoleApp2\ConsoleApp2.csproj", "{B4708B60-0208-4576-A252-33A11F38E311}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -460,6 +462,10 @@ Global
{6E1A5FA3-E024-4972-9EDC-11E36C5A0D6F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6E1A5FA3-E024-4972-9EDC-11E36C5A0D6F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6E1A5FA3-E024-4972-9EDC-11E36C5A0D6F}.Release|Any CPU.Build.0 = Release|Any CPU
{B4708B60-0208-4576-A252-33A11F38E311}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B4708B60-0208-4576-A252-33A11F38E311}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B4708B60-0208-4576-A252-33A11F38E311}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B4708B60-0208-4576-A252-33A11F38E311}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down

0 comments on commit 5289cb7

Please sign in to comment.