- 프런트엔드
- postman collection variables
- postman session
- postman excel
- Android
- Front-end developer
- Android/iOS Developer
- UI/UX Engineer
- postman
- c#
- emplace_back
- postman tests
- postman automations
- 우수한 프런트 개발자
- PL/SQL
- 좋은 개발자
- Unity
- Interaction developer
- postman pre-request
- postman html parse
- Intellij
- oracle
- solidity
- MFC
- postman collection
- Java
- LSL_Script
- C++
- web developer
- postman csv
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- Today
- Total
목록c# (24)
david's daily developer note
String Format for Double The following examples show how to format float numbers to string in C#. You can use static method String.Format or instance methods double.ToString and float.ToString. Digits after decimal point This example formats double to string with fixed number of decimal places. For two decimal places use pattern „0.00“. If a float number has less decimal places, the rest digits ..
using 문의 try - catch 확장 using과 foreach 문을 사용하게 되면 IL 코드로 변환될 때 try/catch 구조로 변환된다. 예를 들어, C# 명세서 8.13 the using statement에 설명된 것을 보자. using (ResourceType resource = expression) statement C# 명세서에 따르면 위와 같은 코드에서 ResourceType이 값 타입(value type)이면 다음과 같은 형태로 변환된다. { ResourceType resource = expression; try { statement; } finally { ((IDisposable)resource).Dispose(); } } 반면에, ResourceType이 참조 타입(referen..
일반적으로, 윈도우 응용 프로그램을 개발할 때, 자주쓰는 텍스트 박스나, 버튼 컨트롤을 폼에 배치하려면, 단순하게, 도구상자에서 컨트롤을 선택하고, 윈도우 폼에 클릭만 하면 되었다. 이 과정에서 VS는 자동으로 컨트롤의 인스턴스를 생성해주고, 기본 속성값으로 초기화도 해준다. 또한 컨트롤에 이벤트를 추가하는 것은, 단순히 이벤트 탭에서 추가하고자 하는 이벤트를 선택만하면 됨으로 매우 단순하고 직관적이다. 이와같이 편리할 툴을 이용해서, 윈도우 응용 프로그램을 개발을 쉽게 할 수 있다. 하지만, 어떤 경우에서는 고정된 UI가 아닌 사용자의 선택에 따라 변화하는 다양한 경우의 UI를 개발할 필요가 존재한다. 예를 들어, 그래픽툴, UI제작툴, 프로토타입 제작툴 등, 당연하지만, IDE에서 제공하는 UI 컨포..
C#에서 이미지 작업을 위한 기본적인 소스를 작성해본다. 1. 화면에 뿌려질 바탕 이미지를 초기화 한다. 뿌려질 폼의 크기와 같은 Bitmap 클레스를 만들고, Bitmap 클레스에서 Graphics을 얻어온다. 아래 소스의 grBm 은 바탕 이미지의 Graphics이 되고, 오픈한 이미지나 작업한 이미지를 뿌리게 된다. Bitmap drawBitmap = new Bitmap(ClientSize.Width, ClientSize.Height); Graphics grBm = Graphics.FromImage(drawBitmap); grBm.Clear(BackColor); 2. 앞에서 이미지를 뿌리기 위해서 초기화한 Graphics를 뿌려주는 이벤트를 추가하자. 이벤트는 폼의 변화가 발생하면 발생해야 함으로,..