- postman csv
- oracle
- Front-end developer
- Android/iOS Developer
- postman collection variables
- 프런트엔드
- Java
- postman excel
- Interaction developer
- web developer
- postman
- 좋은 개발자
- UI/UX Engineer
- solidity
- postman collection
- Android
- postman automations
- PL/SQL
- MFC
- emplace_back
- 우수한 프런트 개발자
- c#
- C++
- Intellij
- postman html parse
- postman tests
- LSL_Script
- Unity
- postman session
- postman pre-request
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
class FileSysInfo { static void Main() { // You can also use System.Environment.GetLogicalDrives to // obtain names of all logical drives on the computer. System.IO.DriveInfo di = new System.IO.DriveInfo(@"C:\"); Console.WriteLine(di.TotalFreeSpace); Console.WriteLine(di.VolumeLabel); // Get the root directory and print out some information about it. System.IO.DirectoryInfo dirInfo = di.RootDire..
(펌) 저자: 한동훈 지난 시간에는 동기화에 대해서 이야기 했으며, 멀티 쓰레드 환경에서 어떤 문제가 생길 수 있는지 간략히 살펴보았다. 여러 개의 쓰레드가 하나의 정수 데이터를 공유하는 것은 빈번하기 때문에 정수 데이터의 증가와 감소를 동기화할 수 있는 Interlocked 클래스가 제공된다. 이것은 동기화의 가장 간단한 형식에 속한다. 그러나 정수형이 아닌 데이터베이스에 데이터를 쓰거나 읽는 작업을 쓰레드를 이용해서 동시에 처리한다면 데이터를 저장하는 동안에는 데이터를 읽지 못하게 해야하고, 데이터를 읽는 동안에는 데이터를 쓰지 못하도록 하는 것이 필요하다. 이와 같이 하나의 쓰레드가 공유 데이터를 사용하고 있으면 다른 쓰레드들이 접근하지 못하도록 하는 것을 베타적 접근이라한다. 멀티 쓰레드에서 베타..
특정 경로의 파일 스트림을 읽는 서브 프로그램이 있다. 서브 프로그램을 다수 실행하도록 동작하는 메인 프로그램이 있을 때, 서브 프로그램의 파일 경로는 어떻게 될까? 다음은 메인 프로그램이다. 현재 자신의 디렉토리에 존재하는 "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);