Skip to content

Winston Lee

  • Home
  • Projects
  • Blog
Winston Lee

csharp

Development

Automatically complete a line in Visual Studio

Just discovered that Shift+Enter magically completes a line for you. For example, you can type String Hello = “Hello world Then Press Shift + Enter, you’ll have String Hello = “Hello world”; | (cursor waiting on the next line)

Read More Automatically complete a line in Visual StudioContinue

C Sharp | Development

Difference between LINQ and lambda expression

I have stuck at this field for a long time. Today it suddenly becomes clear to me: LINQ and lambda expressions are to very different things (though they complements each other on many occasions). Lambda expression Lambda expression, to sum…

Read More Difference between LINQ and lambda expressionContinue

C Sharp | Development

Note on capturing value of a variable in an anonymous function

Extraction from “C# programming language 4th edition” When not captured, there is no way to observe exactly how often a local variable is instan-tiated: Because the lifetimes of the instantiations are disjoint, it is possible for each instantiation to simply…

Read More Note on capturing value of a variable in an anonymous functionContinue

C Sharp | C++ | Windows

Calling C# from C++

Most of the post on the internet about interoperability is the other way around (Calling C++ from C#) since C# is apparently the superior language in terms of developer friendliness. But a part of research work is to make weird…

Read More Calling C# from C++Continue

C Sharp | Desktop

(Very) crude .NET wrapper for Tesseract 3

I was searching for a quick way to recognize license plates and stumbled upon EmguCV’s sample code. But this code requires Tesseract OCR (An open source OCR engine currently sponsored by Google) and its .NET wrapper. Unfortunately, this code was…

Read More (Very) crude .NET wrapper for Tesseract 3Continue

C Sharp | Development

Splash screen in C#

How come every time I build something small, no matter how trivial it could be, I wanted to share it? :-/ This afternoon, i was asked on how to do a splash screen in C#. The guy already tried threads…

Read More Splash screen in C#Continue

I’m an English / Vietnamese / Korean speaking software solution provider living in Korea

Get In Touch

To reach me, please use the contact form

© 2023

Github Linkedin
Scroll to top
  • Home
  • Projects
  • Blog