Click here to Skip to main content
15,902,817 members
Home / Discussions / C#
   

C#

 
GeneralRe: partition cloning Pin
LordZoster22-Mar-09 5:18
LordZoster22-Mar-09 5:18 
QuestionJava -> C# Programming Problem , plz help ! Pin
wgarnett22-Mar-09 3:00
wgarnett22-Mar-09 3:00 
AnswerRe: Java -> C# Programming Problem , plz help ! Pin
SeMartens22-Mar-09 3:32
SeMartens22-Mar-09 3:32 
GeneralRe: Java -> C# Programming Problem , plz help ! Pin
wgarnett22-Mar-09 4:30
wgarnett22-Mar-09 4:30 
GeneralRe: Java -> C# Programming Problem , plz help ! Pin
0x3c022-Mar-09 4:37
0x3c022-Mar-09 4:37 
GeneralRe: Java -> C# Programming Problem , plz help ! Pin
wgarnett22-Mar-09 5:04
wgarnett22-Mar-09 5:04 
GeneralRe: Java -> C# Programming Problem , plz help ! Pin
Yusuf22-Mar-09 5:15
Yusuf22-Mar-09 5:15 
AnswerRe: Java -> C# Programming Problem , plz help ! Pin
0x3c022-Mar-09 5:55
0x3c022-Mar-09 5:55 
Right. First of all, you haven't said what DateTime.Add does in Java (in particular, does it add seconds, minutes, days, etc). Either way, the DateTime.AddSeconds, DateTime.AddMinutes, DateTime.AddDays methods should help. 'string licenseNum' should 'ref string licenseNum' if you plan to persist the changes. These will get rid of Wrongs 1 and 2

For your number formatting, you simply need to set licenseNum to Integer.Parse(licenseNum).ToString("000"), and this will get rid of Wrong 3

cal.getTime() can be replaced with DateTime.Now

The java.text.simpleDateFormat stuff can be replaced with cal.ToString("yyMMdd")

You cannot set an array of sbyte to a string. Just set k to s.Length and j to char.ConvertToUtf32(s, i)
GeneralRe: Java -> C# Programming Problem , plz help ! Pin
SeMartens22-Mar-09 5:42
SeMartens22-Mar-09 5:42 
GeneralRe: Java -> C# Programming Problem , plz help ! Pin
wgarnett22-Mar-09 6:24
wgarnett22-Mar-09 6:24 
GeneralRe: Java -> C# Programming Problem , plz help ! Pin
wgarnett22-Mar-09 6:31
wgarnett22-Mar-09 6:31 
GeneralRe: Java -> C# Programming Problem , plz help ! Pin
0x3c022-Mar-09 6:48
0x3c022-Mar-09 6:48 
GeneralRe: Java -> C# Programming Problem , plz help ! Pin
wgarnett22-Mar-09 7:08
wgarnett22-Mar-09 7:08 
GeneralRe: Java -> C# Programming Problem , plz help ! Pin
0x3c022-Mar-09 8:33
0x3c022-Mar-09 8:33 
GeneralRe: Java -> C# Programming Problem , plz help ! Pin
wgarnett22-Mar-09 15:12
wgarnett22-Mar-09 15:12 
GeneralRe: Java -> C# Programming Problem , plz help ! Pin
0x3c022-Mar-09 21:03
0x3c022-Mar-09 21:03 
GeneralRe: Java -> C# Programming Problem , plz help ! Pin
wgarnett22-Mar-09 21:14
wgarnett22-Mar-09 21:14 
GeneralRe: Java -> C# Programming Problem , plz help ! Pin
0x3c023-Mar-09 5:41
0x3c023-Mar-09 5:41 
GeneralRe: Java -> C# Programming Problem , plz help ! Pin
wgarnett23-Mar-09 6:22
wgarnett23-Mar-09 6:22 
QuestionDrawing graphics in a new thread causes flicker Pin
_Martin_22-Mar-09 2:39
_Martin_22-Mar-09 2:39 
AnswerRe: Drawing graphics in a new thread causes flicker Pin
0x3c022-Mar-09 2:56
0x3c022-Mar-09 2:56 
QuestionHow do I get the Objects of the Solution Explorer(or General the Files of the Project) in an Visual Studio Integration Package Pin
Dromar22-Mar-09 2:10
Dromar22-Mar-09 2:10 
AnswerRe: How do I get the Objects of the Solution Explorer(or General the Files of the Project) in an Visual Studio Integration Package Pin
tech60322-Mar-09 3:59
tech60322-Mar-09 3:59 
AnswerRe: How do I get the Objects of the Solution Explorer(or General the Files of the Project) in an Visual Studio Integration Package Pin
Yusuf22-Mar-09 5:19
Yusuf22-Mar-09 5:19 
QuestionHow to Sort Dataset ? Pin
E_Gold21-Mar-09 22:33
E_Gold21-Mar-09 22:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.