上一页 1 ··· 89 90 91 92 93 94 95 96 97 ··· 120 下一页
摘要: #include <chrono> using namespace std; void chronoDemo9() { cout << "Started" << endl; for (int i = 0; i < 10; i++) { std::chrono::time_point<std::chr 阅读全文
posted @ 2021-05-18 09:36 FredGrit 阅读(61) 评论(0) 推荐(0)
摘要: #include <iostream> #include <fstream> #include <string> #include <conio.h> using namespace std; void writeFileDemo5() { ofstream writeFile("writeFile 阅读全文
posted @ 2021-05-08 11:55 FredGrit 阅读(141) 评论(0) 推荐(0)
摘要: When you config the service as below,then run the application via browser and it will report error such as Server Error in '/' Application. When 'syst 阅读全文
posted @ 2021-04-13 15:55 FredGrit 阅读(92) 评论(0) 推荐(0)
摘要: 1 public class WebDownload : WebClient 2 { 3 /// <summary> 4 /// Time in milliseconds 5 /// </summary> 6 public int Timeout { get; set; } 7 8 public W 阅读全文
posted @ 2021-04-07 15:53 FredGrit 阅读(123) 评论(0) 推荐(0)
摘要: 1 xmlns:i="http://schemas.microsoft.com/xaml/behaviors" 2 3 4 <ListBox x:Name="peopleLbx" ItemsSource="{Binding PersonList}"> 5 <i:Interaction.Trigger 阅读全文
posted @ 2021-03-24 10:46 FredGrit 阅读(53) 评论(0) 推荐(0)
摘要: 1 static void CallerDemo() 2 { 3 SystemRuntimeCompilerServicesCallerDemo("Test System.Runtime.CompilerServices.Caller"); 4 } 5 6 static void SystemRun 阅读全文
posted @ 2021-03-23 15:47 FredGrit 阅读(73) 评论(0) 推荐(0)
摘要: public MessageView() { InitializeComponent(); this.KeyDown += MessageView_KeyDown; } private void MessageView_KeyDown(object sender, KeyEventArgs e) { 阅读全文
posted @ 2021-03-23 11:33 FredGrit 阅读(60) 评论(0) 推荐(0)
摘要: 1.Install-package Prism -v 4 2. 1 using Microsoft.Practices.Prism; 2 using Microsoft.Practices.Prism.Commands; 3 using Microsoft.Practices.Prism.Event 阅读全文
posted @ 2021-03-13 20:37 FredGrit 阅读(95) 评论(1) 推荐(0)
摘要: 1 static void AnnoymousReflection() 2 { 3 var obj = new 4 { 5 First = 3456.345, 6 Second = 43545657, 7 Third = 'A', 8 Forth = "Test", 9 Fifth = true, 阅读全文
posted @ 2021-03-11 11:35 FredGrit 阅读(63) 评论(0) 推荐(0)
摘要: 1 static void QuickSortDemo() 2 { 3 int[] arr = new int[] { 2, 5, -4, 11, 0, 18, 22, 67, 51, 6 }; 4 5 Console.WriteLine("Original array : "); 6 foreac 阅读全文
posted @ 2021-03-08 15:00 FredGrit 阅读(74) 评论(0) 推荐(0)
上一页 1 ··· 89 90 91 92 93 94 95 96 97 ··· 120 下一页