'然而,CLR还支持更复杂的捕获筛选器。Visual Basic、托管扩展C++以及IL汇编语言是目前我所知道的支持更复杂的捕获筛选器的仅有的几门语言。
----------------------------------------------------------------------------
以上摘自.Net框架程序设计(修订版),C#中没有VB.Net中Catch ex As Exception When sData Is Nothing 类似的方法,但你可以用下面的语句代替
public System.Collections.ArrayList ReturnData(System.Data.OleDb.OleDbDataReader sData)
{
try
{
if(sData==null)
{
throw;
}
}
catch(Exception e)
{
//
}
}
----------------------------------------------------------------------------
以上摘自.Net框架程序设计(修订版),C#中没有VB.Net中Catch ex As Exception When sData Is Nothing 类似的方法,但你可以用下面的语句代替
public System.Collections.ArrayList ReturnData(System.Data.OleDb.OleDbDataReader sData)
{
try
{
if(sData==null)
{
throw;
}
}
catch(Exception e)
{
//
}
}
http://www.aspalliance.com/aldotnet/examples/translate.aspx
http://www.kamalpatel.net/ConvertCSharp2VB.aspx
http://www.ragingsmurf.com/vbcsharpconverter.aspx
http://csharpconverter.claritycon.com/Default.aspxVB.NET to C# Converter
http://w1.311.telia.com/~u31115556/desc/programs.htm