---
title: "vs2010中c#读取配置文件"
author: "zydest"
date: "2012-12-13T04:45:40Z"
tags: []
categories: ["编程语言"]
slug: "vs2010-c"
draft: false
lastmod: "2012-12-13T04:45:40Z"
id: 1746832
url: "https://zydest.iteye.com/blog/1746832"
---

Namespace.Properties.Settings.Default.Path;
开始的Namespace是你项目的名称空间
最后一个Path是你配置文件中要读取的字段名。