- postman pre-request
- c#
- C++
- Android/iOS Developer
- 우수한 프런트 개발자
- postman collection
- Intellij
- postman csv
- solidity
- 프런트엔드
- Front-end developer
- postman tests
- postman excel
- Interaction developer
- Java
- 좋은 개발자
- web developer
- oracle
- postman
- postman collection variables
- postman automations
- Unity
- Android
- postman html parse
- MFC
- emplace_back
- LSL_Script
- postman session
- PL/SQL
- UI/UX Engineer
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
목록[Develop] Language (24)
david's daily developer note
특정 경로의 파일 스트림을 읽는 서브 프로그램이 있다. 서브 프로그램을 다수 실행하도록 동작하는 메인 프로그램이 있을 때, 서브 프로그램의 파일 경로는 어떻게 될까? 다음은 메인 프로그램이다. 현재 자신의 디렉토리에 존재하는 "queryMachin.exe"를 수행한다. try { string mainPath = Environment.CurrentDirectory + "\\queryMachin\\bin\\Debug\\queryMachin.exe"; Process.Start(mainPath); } catch (Exception ex) { Console.WriteLine(ex.ToString()); } 다음은 서브 프로그램으로, 마찬가지 자신의 디렉토리(Debug)에 존재하는 test.txt 파일을 읽는다. ..
응용 프로그램이 개발된 환경에서, 특정 경로의 파일을 참조하게 되어있다면, 실행될 환경에서도 해당 파일을 문제없이 참조하게 고려해야한다. 보통 log파일이나, 유저 정의 파일시스템, 기타 파일등이 있겠다. 아래는 현재 프로젝트 폴더의 경로를 가져오는 방법이다. String currentPath = Environment.CurrentDirectory; Console.WriteLine(currentPath); Encoding euckrEncode = Encoding.GetEncoding("euc-kr"); StreamReader sr = new StreamReader(currentPath + "\\test.txt", euckrEncode);
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..