TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
john ranella
1.5k
191
5.7k
copy struct
Oct 31 2014 4:59 AM
Hi,
I'm trying to convert this code written in c to c#, in particular I'm looking for copy a struct from memory area to another memory area
Example in C
memcpy(&LastRestore, &struct, sizeof(struct));
How can i implement this in C#?
this is an example of struct:
public struct a
{
public a(uint i): this()
{
z = new bool[14];
}
public double a;
public float c;
public ushort f;
public short h;
public bool l;
public bool[] z;
}
Reply
Answers (
1
)
Log-in Form for Admin and user.
How to Implement Regular expression to a Text File