上一页 1 ··· 45 46 47 48 49 50 51 52 53 ··· 76 下一页
摘要: 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 阅读(74) 评论(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 阅读(105) 评论(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 阅读(41) 评论(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 阅读(27) 评论(0) 推荐(0) 编辑
摘要: public MessageView() { InitializeComponent(); this.KeyDown += MessageView_KeyDown; } private void MessageView_KeyDown(object sender, KeyEventArgs e) { 阅读全文
posted @ 2021-03-23 11:33 FredGrit 阅读(48) 评论(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 阅读(84) 评论(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 阅读(54) 评论(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 阅读(69) 评论(0) 推荐(0) 编辑
摘要: 1.install-package system.text.json; 2. using System.Text.Json; using System.IO; 3. 1 static void SystemTextJsonDemo() 2 { 3 var obj = new[] 4 { 5 new 阅读全文
posted @ 2021-03-05 12:04 FredGrit 阅读(60) 评论(0) 推荐(0) 编辑
摘要: 1 class Program 2 { 3 static void Main(string[] args) 4 { 5 EventDemo(); 6 Console.ReadLine(); 7 } 8 9 static void EventDemo() 10 { 11 MathClass mc = 阅读全文
posted @ 2021-03-05 11:22 FredGrit 阅读(51) 评论(0) 推荐(0) 编辑
上一页 1 ··· 45 46 47 48 49 50 51 52 53 ··· 76 下一页