由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
DotNet版 - function of function in C#?
相关主题
诚心请教:如果有点vb&c++基础,学vb .net要多久Does anyone have experience with calling API
Integration developer有前途那吗选择 WCF 还是 ASP.NET WebApi (转载)
How to define a explict type cast funcM$FT 在LONGHORN后面的企图
着急求教一個c#問題,怎么能func的時候,subscribe (转载)[转载] local smtp server doesn't send out email...
.NET 入门系列(1)--什么是.NETInstallShield & .NET
Mutually exclusive attributesThread suspend and resume
哪一本讲web services的书比较好?Interview with NET
SilverLight 5 featureshow to use codesnip
相关话题的讨论汇总
话题: c#话题: double话题: function话题: func话题: ptr
进入DotNet版参与讨论
1 (共1页)
b**********r
发帖数: 1
1
Hi, guys,
I am new to C#.
but in C++, there are a lot of function of function usage, how is done in C#?
for example:
double f(double a);
double g(double a);
typedef double (* ptr_func)(double a);
double func_integrator( ptr_func ptr1, double x0, double x1, double
precision);
this should be a very common use, is it still possible in C#?
d*r
发帖数: 238
2
delegate

【在 b**********r 的大作中提到】
: Hi, guys,
: I am new to C#.
: but in C++, there are a lot of function of function usage, how is done in C#?
: for example:
: double f(double a);
: double g(double a);
: typedef double (* ptr_func)(double a);
: double func_integrator( ptr_func ptr1, double x0, double x1, double
: precision);
: this should be a very common use, is it still possible in C#?

b******n
发帖数: 592
3
it is very easy to use. C# rulez

【在 d*r 的大作中提到】
: delegate
1 (共1页)
进入DotNet版参与讨论
相关主题
how to use codesnip.NET 入门系列(1)--什么是.NET
SHBrowseForFolder代码怎么变成c#Mutually exclusive attributes
one question about threading哪一本讲web services的书比较好?
请教一个EXCEL2007 add-in的问题SilverLight 5 features
诚心请教:如果有点vb&c++基础,学vb .net要多久Does anyone have experience with calling API
Integration developer有前途那吗选择 WCF 还是 ASP.NET WebApi (转载)
How to define a explict type cast funcM$FT 在LONGHORN后面的企图
着急求教一個c#問題,怎么能func的時候,subscribe (转载)[转载] local smtp server doesn't send out email...
相关话题的讨论汇总
话题: c#话题: double话题: function话题: func话题: ptr