[C#] QR Code 이미지 생성 방법
✅ 1. NuGet 패키지 설치Visual Studio에서 패키지 관리자 콘솔을 열고 다음 명령어 실행:Install-Package QRCoder✅ 2. 기본 QR 코드 생성 코드using QRCoder;using System.Drawing;using System.Windows.Forms; // WinForms에서 PictureBox에 이미지 표시할 때public class QRCodeGeneratorExample{ public static Bitmap GenerateQRCode(string text) { QRCodeGenerator qrGenerator = new QRCodeGenerator(); QRCodeData qrCodeData = qrGenerator.Cre..
- [====== Development ======]/C#
- · 2025. 6. 17.
DateTime.Parse 사용법
In C#, the DateTime.Parse method is used to convert a string representation of a date and time to its DateTime equivalent. Below are the steps and examples to use the DateTime.Parse method effectively.Basic UsageHere is a simple example to demonstrate the basic usage of DateTime.Parse:using System;class Program{ static void Main() { string dateString = "2024-06-04 14:30:00"; ..
- [====== Development ======]/C#
- · 2024. 6. 4.