我爱Aspx >> C#.Net >> out 数组总是提示有些路竟没有赋值private void CalculateSteps( double startWavelength, double stopWavelength, double stepWidth, out double[] stepArray )
{
if(startWavelength < stopWavelength)
{
if((stopWavelength - startWavelength) > stepWidth)
{
int i = 0;double step = startWavelength;
do
{
stepArray[i] = step; //就这一句
step += stepWidth;
++i;
}
while((stopWavelength - step) > stepWidth);
stepArray[i] = stopWavelength;
}
else
{
stepArray = new double[0];
throw new Exception("The value between start and stop is less than step width.");
}
}
else if(startWavelength > stopWavelength)
{
if((startWavelength - stopWavelength) > stepWidth)
{
int i = 0;double step = startWavelength;
while((step - stopWavelength) > stepWidth)
Ҷƪл˵?
在google上面搜到下面的微软的地..[06-12]
请问:gtk有哪些信息啊,delete_..[06-12]
如何实现操作不被其他进程打断?[06-12]
gcc 能编译 c++ 吗[06-12]
关于DataSet中表格的RowIndex的问..[06-12]
如何实现PNG图片变色?[06-12]
请问,WIN程序,全选更新到数据库..[06-12]
access报错操作必须使用一个可更..[06-12]
帮我看看这样算不算装上 framewo..[06-12]
关于一个截取字符串问题[06-12]