摘要:
IntroductionMy C++ code was trying to read an array of struct which contains string data in C# . To my surprise, I found that a struct array which contains only integer is very easy to get, but if you... 阅读全文
摘要:
using System;using System.Collections.Generic;using System.Diagnostics;using System.IO;namespace SocketDemo { class Program { static void Main() { Process proc = new Process(); proc.StartInfo.FileName... 阅读全文
摘要:
There are more than 30 methods in ASP.NET classes that deal with paths and/or URLs. Many developers coming from traditional ASP tend to stick with the methods they know from ASP (which are still there... 阅读全文
摘要:
C and C++ enforce subtle differences on the expressions to the left and right of the assignment operator If you've been programming in either C or C++ for a while, it's likely that you've heard the te... 阅读全文
摘要:
The .Net framework libraries does not provide you an API to query for the focused Control. You have to invoke a windows API to do so: [C#] public class MyForm : Form { [DllImport("user32.dll", CharSet... 阅读全文