Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Windows.Forms;
- namespace CobolTest1.CustomTypes
- {
- public struct StructTest
- {
- private string s;
- public string String {
- get
- {
- MessageBox.Show( "Called getString!" );
- return s;
- }
- set
- {
- MessageBox.Show("Called setString!");
- s = value;
- }
- }
- public int Int;
- public float Float;
- public double Double;
- public DateTime DateTime;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment