File tree Expand file tree Collapse file tree 4 files changed +60
-0
lines changed Expand file tree Collapse file tree 4 files changed +60
-0
lines changed Original file line number Diff line number Diff line change 1+ using prad ;
2+
3+ class test1 {
4+ public static void Main ( ) {
5+ prad_buffer buffer = new prad_buffer ( ) ;
6+
7+ buffer . get_input ( ) ;
8+
9+ string value = buffer . get_buffer_as_string ( ) ;
10+
11+ buffer . clear_buffer ( ) ;
12+
13+ Console . WriteLine ( "Entered Value : " + value ) ;
14+ Console . WriteLine ( "Value Length : " + value . Length ) ;
15+ }
16+ }
Original file line number Diff line number Diff line change 1+ <Project Sdk =" Microsoft.NET.Sdk" >
2+
3+ <PropertyGroup >
4+ <OutputType >Exe</OutputType >
5+ <TargetFramework >net9.0</TargetFramework >
6+ <ImplicitUsings >enable</ImplicitUsings >
7+ <Nullable >enable</Nullable >
8+ </PropertyGroup >
9+
10+ <ItemGroup >
11+ <PackageReference Include =" buffer" Version =" 1.1.3" />
12+ </ItemGroup >
13+
14+ </Project >
Original file line number Diff line number Diff line change 1+ using prad ;
2+
3+ class test2 {
4+ public static void Main ( ) {
5+ prad_buffer buffer = new prad_buffer ( ) ;
6+
7+ buffer . get_input ( "command > " ) ;
8+
9+ string value = buffer . get_buffer_as_string ( ) ;
10+
11+ buffer . clear_buffer ( ) ;
12+
13+ Console . WriteLine ( "Entered Value : " + value ) ;
14+ Console . WriteLine ( "Value Length : " + value . Length ) ;
15+ }
16+ }
Original file line number Diff line number Diff line change 1+ <Project Sdk =" Microsoft.NET.Sdk" >
2+
3+ <PropertyGroup >
4+ <OutputType >Exe</OutputType >
5+ <TargetFramework >net9.0</TargetFramework >
6+ <ImplicitUsings >enable</ImplicitUsings >
7+ <Nullable >enable</Nullable >
8+ </PropertyGroup >
9+
10+ <ItemGroup >
11+ <PackageReference Include =" buffer" Version =" 1.1.3" />
12+ </ItemGroup >
13+
14+ </Project >
You can’t perform that action at this time.
0 commit comments