Click here to Skip to main content
16,005,141 members
Home / Discussions / C#
   

C#

 
AnswerRe: Threads and TextBox Pin
Luc Pattyn17-May-10 10:03
sitebuilderLuc Pattyn17-May-10 10:03 
GeneralRe: Threads and TextBox Pin
CaesarCZ17-May-10 10:21
CaesarCZ17-May-10 10:21 
GeneralRe: Threads and TextBox Pin
Luc Pattyn17-May-10 11:08
sitebuilderLuc Pattyn17-May-10 11:08 
GeneralRe: Threads and TextBox Pin
CaesarCZ18-May-10 2:28
CaesarCZ18-May-10 2:28 
Questionimage access using dll Pin
AnirbanChak 17-May-10 9:52
AnirbanChak 17-May-10 9:52 
AnswerRe: image access using dll Pin
Dr.Walt Fair, PE17-May-10 10:20
professionalDr.Walt Fair, PE17-May-10 10:20 
AnswerRe: image access using dll Pin
Alan Balkany18-May-10 4:18
Alan Balkany18-May-10 4:18 
QuestionJava to C# Pin
Zoomlion17-May-10 6:46
Zoomlion17-May-10 6:46 
I have the following classes in Java which i want to convert to C# but have errors with the undelined codes. (Can someone help me with the C# equivalent of PUT and GET)
class TagInfo{
public int tagOffset;
public int tagLength;

public TagInfo(){
}
}

private void buildMetaData()
{
Record record = getData();
int offset = IMGREC_TAGLIST_INDEX;
int numTags = 0 ;
short tagID = 0;

try
{
numTags = this.getNumberOfTags() ;

for (int i=0; i < numTags; i++){
TagInfo info = new TagInfo();

info.tagOffset = offset;
info.tagLength = TagRecord.TAG_DATA_INDEX + record.readInt(offset + TagRecord.TAG_DATALEN_INDEX);
tagID = record.readShort(offset + TagRecord.TAG_ID_INDEX);
offset += info.tagLength;

tagInfo.put(new Short(tagID),info);

Console.WriteLine("tagID = " + tagID);
}
}
catch (Exception ex)
{
}
finally
{
}

this.imageOffset = offset;
this.imageSize = record.getLength() - offset;
}

public TagRecord getTagByID(short id)
{
TagRecord record = null;
TagInfo info = (ImageRecord.TagInfo)tagInfo.get(new Short(id));

if (info != null){
byte[] data = this.getData().read(info.tagOffset,info.tagLength);
record = new TagRecord(data);
}

return record;
}
GeneralRe: Java to C# Pin
harold aptroot17-May-10 7:04
harold aptroot17-May-10 7:04 
AnswerRe: Java to C# Pin
The Man from U.N.C.L.E.17-May-10 7:28
The Man from U.N.C.L.E.17-May-10 7:28 
Questionequivalent Pin
genieabdo17-May-10 4:52
genieabdo17-May-10 4:52 
AnswerRe: equivalent Pin
Abhinav S17-May-10 5:01
Abhinav S17-May-10 5:01 
AnswerRe: equivalent Pin
Luc Pattyn17-May-10 5:37
sitebuilderLuc Pattyn17-May-10 5:37 
GeneralRe: equivalent Pin
genieabdo17-May-10 5:57
genieabdo17-May-10 5:57 
GeneralRe: equivalent Pin
Luc Pattyn17-May-10 6:05
sitebuilderLuc Pattyn17-May-10 6:05 
AnswerRe: equivalent Pin
PIEBALDconsult17-May-10 6:05
mvePIEBALDconsult17-May-10 6:05 
GeneralRe: equivalent Pin
genieabdo17-May-10 6:11
genieabdo17-May-10 6:11 
GeneralRe: equivalent Pin
Luc Pattyn17-May-10 6:12
sitebuilderLuc Pattyn17-May-10 6:12 
GeneralRe: equivalent Pin
genieabdo17-May-10 6:23
genieabdo17-May-10 6:23 
GeneralRe: equivalent Pin
PIEBALDconsult17-May-10 6:24
mvePIEBALDconsult17-May-10 6:24 
GeneralRe: equivalent Pin
Luc Pattyn17-May-10 6:27
sitebuilderLuc Pattyn17-May-10 6:27 
QuestionProduction release: Do you issue a "Release" build or do you simply not roll out the debug's pdb file? Pin
Alaric_17-May-10 3:49
professionalAlaric_17-May-10 3:49 
AnswerRe: Production release: Do I issue a "Release" build or do I simply not copy over the debug's pdb file? Pin
PIEBALDconsult17-May-10 4:04
mvePIEBALDconsult17-May-10 4:04 
GeneralRe: Production release: Do I issue a "Release" build or do I simply not copy over the debug's pdb file? Pin
J4amieC17-May-10 4:53
J4amieC17-May-10 4:53 
GeneralRe: Production release: Do I issue a "Release" build or do I simply not copy over the debug's pdb file? Pin
PIEBALDconsult17-May-10 5:28
mvePIEBALDconsult17-May-10 5:28 

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.