I'm just learning c# and I'm trying to convert a class I wrote in vb.net to help me learn.
problem is, I'm stuck at the beginning. can someone tell me what is wrong with the syntax here?...
I've got squiggly red lines under all but the first two declarations. I suspect the Const lines are causing problems.PHP Code:using System;
using dart.powertcp.telnet;
namespace TicketingLibrary
{
/// <summary>
/// Summary description for Calix.
/// </summary>
public class Calix{
private Segment Segment;
private string adsl ;
private string Day = Now.Month & "-" & Now.Day;
Const string c_Login = "act-user::Trouble:::Vanhalen1" & Chr(13);
Const string c_logout = "canc-user" & Chr(13);
Const String c_cstat = "rtrv-cstat-adsl::";
Const String c_pm = "rtrv-pm-adsl::";
Const String c_FEND1Day = ":::,,FEND,,1-day,";
Const String c_FEND15min = ":::,,FEND,,15-min,";
Private String strSync(1);
Private String strSNR = "";
Private String strESL15 = "";
Private String strSESL15 = "";
Private String strESL = "";
Private String strSESL = "";
Private String strUASL = "";
public Calix()
{
//
// TODO: Add constructor logic here
//
}
}
}
any ideas?




Reply With Quote