在C# 中要用System.Drawing 为什么要在引用里加using System.Drawing 啊?
来源:学生作业帮 编辑:搜搜做题作业网作业帮 分类:综合作业 时间:2024/07/04 01:24:50
在C# 中要用System.Drawing 为什么要在引用里加using System.Drawing 啊?
有哪位高手帮我解决一下吧,我对这个问题很迷惑!搞不明白为什么,先谢谢你们啦!
有哪位高手帮我解决一下吧,我对这个问题很迷惑!搞不明白为什么,先谢谢你们啦!
![在C# 中要用System.Drawing 为什么要在引用里加using System.Drawing 啊?](/uploads/image/z/14824471-31-1.jpg?t=%E5%9C%A8C%23+%E4%B8%AD%E8%A6%81%E7%94%A8System.Drawing+%E4%B8%BA%E4%BB%80%E4%B9%88%E8%A6%81%E5%9C%A8%E5%BC%95%E7%94%A8%E9%87%8C%E5%8A%A0using+System.Drawing+%E5%95%8A%3F)
为了引用系统提供的程序集,使用using.,免去你要自己写很多底层的东西,那些也不是你现在能写出来.
举个例子吧:
你要跟某人联系,最好最快最简单的办法就是打电话,这时候你就using电话,电话能提供给你 打电话(当然还有其他的了)这个功能,你不用自己去制造电话,你只是在使用电话所提供的功能.
我举的很通俗了吧?
联系你的问题:
你要对图像图像方面编程,你using System.Drawing,这个程序集给你提供了很多图形图像处理方面的功能,你不用自己去写这些功能函数,你只要合理的使用,让它们发挥最大最好的作用就行.
举个例子吧:
你要跟某人联系,最好最快最简单的办法就是打电话,这时候你就using电话,电话能提供给你 打电话(当然还有其他的了)这个功能,你不用自己去制造电话,你只是在使用电话所提供的功能.
我举的很通俗了吧?
联系你的问题:
你要对图像图像方面编程,你using System.Drawing,这个程序集给你提供了很多图形图像处理方面的功能,你不用自己去写这些功能函数,你只要合理的使用,让它们发挥最大最好的作用就行.
在C# 中要用System.Drawing 为什么要在引用里加using System.Drawing 啊?
关于c# using system
using System.Data.Linq.SqlClient;为什么不能引用?
C#中using System.Diagnostics;怎么产生
下列语句错在错在哪里using System;using System.Collections.Generic;usin
C#中的三元表达式using System;using System.Collections.Generic;using
using System;
c#高手看看什么问题 using System; using System.Collections.Generic; u
在c#中 System.Console.WriteLine什么意思?
using System; using System.Collections.Generic; using System
using System; using System.Data; using System.Configuration;
using System; using System.Collections; using System.Configu