2017/082 log4net 설정 log4net 닷넷계열의 로그를 남길 수 있다. 설정은 아래와같다. app.config에다 넣어주면 된다. 사에이 넣는다. 2017. 8. 9. XML 파싱 단순한 1차구조의 파싱은 여러개가 있다. 하지만 2차, 3차, 그리고 그 이상의 parsing을 해야할 때가 있다... 아래에 그 소스가 있다. 그리고 3 depth 구조 예제도 같이 올려놓겠다. 쓸데가 많을듯...... using System.Collections; using System.Collections.Generic; using System.Xml.Linq; namespace Server.Function { public class Parser { int i, j; private string Parse(string str) { XDocument xDoc = XDocument.Parse(str); Hashtable hash = new Hashtable(); i = 0; parseFunction(re.. 2017. 8. 6. 이전 1 다음