<commit_before>﻿using System;
using System.Runtime.InteropServices;
using static System.Console;

namespace LinkedList.Demos
{


    public class Node
    {
        public int Value { get; set; }
    }

    class Program
    {
        static void Main(string[] args)
        {

            var node = new Node { Value = 101 };

            GCHandle handle = GCHandle.Alloc(node, GCHandleType.WeakTrackResurrection);

            IntPtr address = GCHandle.ToIntPtr(handle);

            WriteLine($"Value: {node.Value} at Address: {address}");

            WriteLine("\n\nPress any key ...");
            ReadKey();
        }
    }
}<commit_msg>Update Program.cs<commit_after>﻿using System;
using System.Runtime.InteropServices;
using static System.Console;

namespace LinkedList.Demos
{


    public class Node
    {
        public int Value { get; set; }

        public Node NextNode { get; set; }

        public override string ToString()
        {
            GCHandle handle = GCHandle.Alloc(this, GCHandleType.WeakTrackResurrection);
            IntPtr address = GCHandle.ToIntPtr(handle);

            return $"Value: {Value} at Address: {address}";
        }

    }

    class Program
    {
        static void Main(string[] args)
        {

            var node = new Node { Value = 101 };
            WriteLine(node);

            //GCHandle handle = GCHandle.Alloc(node, GCHandleType.WeakTrackResurrection);

            //IntPtr address = GCHandle.ToIntPtr(handle);

            //WriteLine($"Value: {node.Value} at Address: {address}");

            WriteLine("\n\nPress any key ...");
            ReadKey();
        }
    }
}
{'fraction_non_alphanumeric': 0.10975609756097561, 'fraction_numerical': 0.003658536585365854, 'mean_word_length': 2.0, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1223373', 'n_tokens_mistral': 503, 'n_tokens_neox': 463, 'n_words': 114}