This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System.Collections.Generic; | |
| namespace ConsoleAppTest | |
| { | |
| using System; | |
| using System.Xml; | |
| using System.Xml.Serialization; | |
| using System.IO; | |
| public class IdaConfigInfo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class IdaConfigInfo : ConfigurationSection | |
| { | |
| public string sdkver => SectionInformation.SectionName; | |
| [ConfigurationProperty("idadir", IsRequired = true)] | |
| public string idadir | |
| { | |
| get => (string)base["idadir"]; | |
| set => base["idadir"] = value; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| IN="haha\nhaha\n====\nhehe\nhehe" | |
| OIFS=$IFS | |
| IFS="====" | |
| i=1 | |
| segs=$IN | |
| for seg in $segs |