What is marshalling and what are different kinds of marshalling?



What is marshalling and what are different kinds of marshalling?..

Answer / Abhinaw Kumar Rai

Marshalling, in the context of C#, refers to the process of converting data between different formats or representations. Common types of marshalling include: Struct Layout Marshalling (which controls the layout of custom structures), PInvoke Marshalling (which allows calling unmanaged code from managed code), and XML Serialization (which converts objects into XML format for transfer over a network or storage in a file).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

How do you use nullable?

1 Answers  


What is the difference between “finalize” and “finally” methods in c#?

1 Answers  


Name the property of the textbox which cannot be changed at runtime?

1 Answers  


Can we inherit static class in c#?

1 Answers  


What is a console operator?

1 Answers  


Why constructor is used in c#?

1 Answers  


What?s the difference between // comments, /* */ comments and /// comments?

2 Answers   Intel, Visual Soft,


What do you mean by for each loop?

1 Answers  


What is default class in c#?

1 Answers  


What is a method signature c#?

1 Answers  


What are the two uses of a ‘using’ statement in c#?

1 Answers  


What is the best method to fill the GridView. using SqlDataReader or Dataset and why

5 Answers   CA,


Categories