Explain 'structure padding'?
Answer / Deep Kumar Singh
Structure padding in C# refers to the spaces added between structures to ensure proper alignment of data when they are stored or transmitted. The compiler adds these paddings to maintain the size and alignment requirements of each platform, operating system, or hardware architecture.
| Is This Answer Correct ? | 0 Yes | 0 No |
what is namespace?
What are value types in c#?
what is the real use of interface in c#,other than that multiple inheritance is not possible
Why do we need constructor in c#?
Can you call from an inherited constructor to a specific base constructor if both base class and an inheriting class has a number of overloaded constructors?
What is the difference between constants and read-only?
What is a delegate in c#?
What is dbcontext c#?
what is work of continue statement in C#?
What are object pooling and connection pooling and difference between them?
Is a games console a computer?
What is gac? How to put assembly in gac?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)